Build tree table with GWT CellTableBuilder

389 views
Skip to first unread message

jaga

unread,
May 22, 2013, 12:25:27 PM5/22/13
to google-we...@googlegroups.com
Hi, I managed this. I followed the example given on the latest GWT showcase for the custom data grid http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCellTable

Key is new TableRowBuilder. You can inject rows into the table. Use a Click event on a cell to trigger the injection. I used an asynchronous callback to get the data and found it easier to redraw the entire table. In the example the objects already contain the data. He iterates through a list building a new row for each item.

James

Reply all
Reply to author
Forward
0 new messages