CellTable - lastPage shows only last record

23 views
Skip to first unread message

Magnus

unread,
Aug 12, 2012, 5:02:18 AM8/12/12
to google-we...@googlegroups.com
Hi,

I have a CellTable and want to show the last page, such that it is full of data.

To do this, I call pager.lastPage ();
(At the beginning I call: pager.setRangeLimited(true);)

But the last page sometimes is not full. E. g. if rowcount modulo pagesize is 1, then the last page only contains the last record in the first row.
When I manually select "first" and "last" on the pager control, it behaves correctly and shows a full page.

I want the last page to contain always the last <pagesize> records (if they exist).

What can I do?

Thanks
Magnus
Reply all
Reply to author
Forward
0 new messages