- CellTable example:
private AbstractCellTable<FacilityModel> facilityTable;
facilityTable = new CellTable<FacilityModel>();
- DataGrid example:
private AbstractCellTable<FacilityModel> facilityTable;
facilityTable = new DataGrid<FacilityModel>();
As stated above, the ONLY difference is the creation statement, which I highlighted in yellow above. Thanks.
Tony
On Saturday, December 31, 2011 5:38:52 AM UTC-5, Thomas Broyer wrote:
DataGrid and CellTable both display data in similar ways; but DataGrid has fixed column headers with scrollable content (have a look at the Showcase: http://gwt.google.--com/samples/Showcase/Showcase. vs. http://html#!CwCellTable gwt.google.com/samples/ )Showcase/Showcase.html#! CwDataGrid Note that DataGrid comes with a few constraints: it's a RequiresResize so it must be put inside a ProvidesResize widget or be explicitly sized, and it has fixed-width columns.
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/-/PkaJttkkfQEJ.
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