Tuesday, January 10, 2012

Re: DataGrid Object not displaying more than 50 items...

DataGrid defaults to a pageSize = 50 (see http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/cellview/client/DataGrid.html#DataGrid() )

You have to call setPageSize the either a very big value, or at least the size of your data if you don't want paging.

That said, if you don't need/want paging, you'd probably better call setRowData/setPageSize on the DataGrid than using an intermediate ListDataProvider.

--
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/-/wFAQc_-V_HsJ.
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