CellTable - lastPage shows only last record
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
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/5XU3UcZu6MEJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home