Tuesday, October 25, 2011

CellTable - how to load just one page?

Hi,

I have a large list, which I do not want to load all at once. I would like to load and display just one page and let the user navigate to other pages.

The problem I see with CellTable is that it needs the whole list at once (setRowData). So I have to transfer all the data. Is it possible just to load the data for one page, and load the next portion if the page changes?

Other questions:
How can I add a simple navigation buttons (page next, last) to a CellTable?

Finally, assume that the CellTable resides within a panel with a given size. Is it possible to set the page size so that there are no scroll bars, i. e. fill the panel with cell rows without exceeding the available space?

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/-/6tXwO208nAUJ.
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


Real Estate