I would imagine I could then perform my query, load the data via the ListDataProvider, and then call setPageSize (or is it setRowCount) with the amount of rows I just loaded?
Would that work, assuming I do not want paging ?
Thanks,
Bill
-----Original Message-----
From: Thomas Broyer <t.broyer@gmail.com>
To: google-web-toolkit <google-web-toolkit@googlegroups.com>
Sent: Tue, Jan 10, 2012 2:26 am
Subject: Re: DataGrid Object not displaying more than 50 items...
From: Thomas Broyer <t.broyer@gmail.com>
To: google-web-toolkit <google-web-toolkit@googlegroups.com>
Sent: Tue, Jan 10, 2012 2:26 am
Subject: 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 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.
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.
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