Problems with ColumnGroupHeaderLayer in a Grid [message #1072731] |
Tue, 23 July 2013 07:46  |
Eclipse User |
|
|
|
Hi,
how to put a ColumnGroupHeaderLayer into a grid?
CompositeLayer gridLayer = new CompositeLayer(1, 3);
gridLayer.setChildLayer(GridRegion.COLUMN_GROUP_HEADER, columnGroupHeaderLayer, 0, 0);
gridLayer.setChildLayer(GridRegion.COLUMN_HEADER, columnHeaderLayer, 0, 1);
gridLayer.setChildLayer(GridRegion.BODY, bodyLayer, 0, 2);
or
CompositeLayer gridLayer = new CompositeLayer(1, 2);
gridLayer.setChildLayer(GridRegion.COLUMN_GROUP_HEADER, columnGroupHeaderLayer, 0, 0);
gridLayer.setChildLayer(GridRegion.BODY, bodyLayer, 0, 1);
???????
Both ways it looks broken somehow. The example comes with a full grid layer but I do not want the row header.
Any help is appreciated.
J
|
|
|
|
|
Re: Problems with ColumnGroupHeaderLayer in a Grid [message #1073608 is a reply to message #1073371] |
Thu, 25 July 2013 03:01  |
Eclipse User |
|
|
|
Well the column grouping is something that needs to be reworked completely. There are a lot of inconsistencies regarding API and usage.
It should be working on the ColumnGroupHeaderLayer and hide the ColumnGroupModel from the rest of the world. And then we should use commands for all the actions regarding grouping. I'm not sure, but AFAIK this is not consistent for all actions.
|
|
|
Powered by
FUDForum. Page generated in 0.03596 seconds