Groups
Groups
Sign in
Groups
Groups
GWT Users
Conversations
About
Send feedback
Help
How to add cell types (TextCell) to CompositeCell?
52 views
Skip to first unread message
membersound
unread,
Jan 9, 2013, 8:49:00 AM
1/9/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
Hi,
how can I add available cell types (
TextCell, ButtonCell, CheckboxCell, DateCell
etc) to a
CompositeCell
?
https://developers.google.com/web-toolkit/doc/latest/DevGuideUiCellWidgets?hl=en#available
List<HasCell<Foo, ?>> cells = new ArrayList<HasCell<Foo,?>>();
cells.add(new ButtonCell()); //not applicable for ButtonCell.
newCompositeCell<Foo>(cells);
I mean: what is the
CompositeCell
for, if I cannot add existing
Cell
implementations to it?
Thomas Broyer
unread,
Jan 9, 2013, 8:58:45 AM
1/9/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
HasCell for CompositeCell is similar to Column for CellTable, you want to "wrap" a Cell within a HasCell.
http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCellTree
(ContactTreeViewModel.java) uses CompositeCell if you're looking for an example.
Reply all
Reply to author
Forward
0 new messages