So does this means they cannot be used interchangeably?  For instance, I 
have a table.  When I define it as a "CellTable", it works fine.  But when 
I simple change it to a DataGrid ( no other changes ), it does not work.  
Your comments suggest that I need to do some extra steps for DataGrid.  I 
am just trying to confirm my understanding.  Thanks


   - 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.html#!CwCellTable vs. 
> http://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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to