Using a RangeChangeEvent.Handler, or more simply an AbstractDataProvider 
(or AsyncDataProvider).

When clicking "next page" in the "pager" (let's say we have a SimplePager, 
or any AbstractPager; if you roll your own code, then just mimic what these 
widgets do), it'll setVisibleRange on your CellTable, which will then fire 
a RangeChangeEvent. An AbstractDataProvider listens to this event (but you 
can register your own RangeChangeEvent.Handler if you prefer) and calls 
onRangeChanged which you have to implement (unless you're using a 
ListDataProvider) and call updateRowCount and/or updateRowData with the new 
values. That will call setRowCount and setRowData on your CellTable to 
update the display.

But well, the docs explain this better and in depth: 
http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html#data-provider

-- 
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/-/HFtKfmJFtJoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to