CellTable vs DataGrid

979 views
Skip to first unread message

Alexander Orlov

unread,
Mar 19, 2012, 2:23:07 PM3/19/12
to google-we...@googlegroups.com
CellTable vs DataGrid — when to use which? DataGrid is for "large data sets" and CellTable for (kind of) smaller data sets. But is there a reason not to use the DataGrid Composite for all kinds of data sets? What would be the disadvantage, besides an (non-user-perceivable) init delay?

Thomas Broyer

unread,
Mar 20, 2012, 9:23:08 AM3/20/12
to google-we...@googlegroups.com
To my knowledge, both CellTable and DataGrid are for "large data sets" (as all the other Cell widgets; as opposed to Grid or FlexTable). The main (if not only) difference is that Datagrid has a fixed header/footer and a scrolling area for data (and thus is a RequiresResize), whereas CellTable generates a single grid with headers, data and footers (and thus has to be put inside a ScrollPanel to handle overflow, and then the headers and footers can scroll along with the data, and outside the viewport).

Mike Dee

unread,
May 16, 2012, 3:12:56 PM5/16/12
to google-we...@googlegroups.com
Where is the uibinder stuff for DataGrid defined?  I can't seem to find it and it doesn't appear in GWTDesigner.

Mike Dee

unread,
May 16, 2012, 3:15:54 PM5/16/12
to google-we...@googlegroups.com
Note that I'm using GWT 2.4.

Alexander Orlov

unread,
May 16, 2012, 3:18:46 PM5/16/12
to google-we...@googlegroups.com

I haven't ever used gwtdesigner. Search for gwt showcase, there you will find it.

Sent from my phone.

--
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/-/dF3BESP_2moJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Thomas Broyer

unread,
May 17, 2012, 10:33:55 AM5/17/12
to google-we...@googlegroups.com


On Wednesday, May 16, 2012 9:12:56 PM UTC+2, Mike Dee wrote:
Where is the uibinder stuff for DataGrid defined?  I can't seem to find it and it doesn't appear in GWTDesigner.

There's nothing special, you have to initialize it in your Java code using either an @UiFactory or @UiField(provided=true).
Reply all
Reply to author
Forward
0 new messages