Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do single row expansion with CellTable?

Tags:

gwt

gwt2

I'm trying to use the new GWT CellTable widget but my table needs to support one row expansion, i.e. there is a zippy on the left of a row and when it's clicked, the row should expand to provide more detail information and this row should span across all columns. Is it possible to achieve this with the CellTable? How do I add a row that spans all columns between other rows dynamically?

Any help will be appreciated!

like image 560
smallbec Avatar asked Oct 22 '10 23:10

smallbec


1 Answers

GWT 2.5 will add a CellTableBuilder with the exact goal of allowing this kind of things.

You can find a live example at http://showcase2.jlabanca-testing.appspot.com/#!CwCustomDataGrid (click on the "show friends" cells)

like image 138
Thomas Broyer Avatar answered Sep 28 '22 10:09

Thomas Broyer