Re: CellTable Grouping

2011-04-06 Thread Jeff Larsen
I need to add rows to the table and dynamically change the headers based on which rows are being grouped. For example, if I had a table of books and grouped by Authors, I would want to add a row with colspan set to the entire table columand remove the Authors column from the grid. Removing the colu

Re: CellTable Grouping

2011-04-06 Thread Raphaƫl Brugier
By grouping you mean set a rowspan ? You can set the rowspan of cell using the cellTable api : public void setRowSpan(final int row, final int column, final int rowSpan) { cellTable.getRowElement(row).getCells().getItem(column).setRowSpan(rowSpan); } -- You received this mess

CellTable Grouping

2011-04-05 Thread Jeff Larsen
Has anyone done any work to make celltable groupable? I'm currently working on modifying CellTable (or better said copy/pasting celltable into a new class in the same package structure and modifiying the renderRowValues). This feels wrong, but I can't figure out a clean way to add groups to the