posted 13 years ago
All,
This is with GWT 2.4. I'm having an issue getting paging to work for CellTable.
I'm not sure what I'm doing wrong. I thought I was following the examples correctly and adapting them to my code.
I tried using both a set size per page for the CellTable and SimplePager, as well as not giving that value and letting it use the default. No luck.
I have 72 items in a CellTable, and I want it to show 10 per page.
Here is the code:
So far, the table data displays fine, except that it's still showing me all 72 users, no matter what I set for the CellTable size and the 4th parameter in the SimplePager constructor.
I've also tried not setting the CellTable size in the constructor, and using 0 as the 4th parameter in the SimplePager constructor (which is how the Showcase of Features for GWT does it to get 15 per page), to no avail.
What am I doing wrong?