Re: Multiple cells per row in CellTable (like a Cell Grid)
An example is a data provider that is a List<People> and I want my grid to display my collection of People in a 4x4 grid. Is there a way to do that?
You could create 4 columns of type "Person" and invent a new class that represents your table rows, lets say "PersonGroup". Your table would then display PersonGroups and each PersonGroup contains 4 Persons that you can render in your columns. With 4 PersonGroups containing 4 Persons each you could mimic your 4x4 grid.
But CellTable/DataGrid is really meant for tabluar data and not for design/layout purposes.
-- J.
-- 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/-/nqVnfCoJFl8J.
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home