Monday, October 24, 2011

Re: table widget wanted

It's as easy as setPageStart(0); setPageSize(totalNumberOfItems); (where totalNumberOfItems is actually the same value you'd pass to setRowCount).

E.g. given a List of items to be displayed:
 table.setPageStart(0);
 table.setPageSize(list.size());
 table.setRowData(list); // which is equivalent to table.setRowCount(list.size()); table.setRowData(0, list);

--
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/-/uIcqRIbf2WUJ.
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