I have a CellTable, SimplePager and ListDataProvider setup in my view
constructor like so:
public MyView {
cellTable = makeCellTable();
simplePager = makeSimplePager(cellTable);
initWidget(uiBinder.createAndBindUi(this));
listDataProvider.addDataDisplay(cellTable);
}
My list has 25 items in it, and simplePager is setup with these
options:
simplePager.setDisplay(cellTable);
simplePager.setPageSize(10);
simplePager.setRangeLimited(false);
However, on initially loading the SimplePager widget in my browser for
the first time I see:
"1-10 of 10"
instead of
"1-10 of 25" (as you'd expect for a list with 25 items)
The widget fixes itself when I click the forward arrow and then go
back.
Any ideas what could be wrong?
Thanks!
Maurice
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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.
No comments:
Post a Comment