Skip to Content
0
Former Member
May 16, 2008 at 07:12 AM

tableView: visibleFirstRow ignored

25 Views

Hello everybody,

in my bsp application I want to save and restore the selected page of tableview and I want to change the number of visible rows. In both cases the number of visible rows (attribute visibleFirstRow) become ignored.

1. case (save and restore selected page)

I save the number of visibleFirstRow after the onNavigate event. This works fine.

After changing the view and come back to other view, I restore this. But the attribute visibleFirstRow become ignored. In tableview diplays row no. 1 on page no. 1.

2. case (change number of visible rows)

In tableView display 2 entries in 5 lines on page 3. Now I want to show all entries in 1 page.

I change visibleFirstRow = 1 and visibleRowCount = ''.

The following happen: The pager of tableView shows 1 page with 12 rows, but only the last 2 entries. This means the attribute visibleFirstRow become ignored.

Had anybody the same problem?

What I'm doing wrong? Are there other attributes I have to set for get this function?

Thanks, Tina