|Last Group headers not appearing for performance ColumnGroupHeaderLayer [message #1819422]
||Wed, 15 January 2020 06:13
| Sreeram R
Registered: July 2009
Currently, I am using NatTable 1.5 and using ColumnGroupHeaderLayer and ColumnGroupGroupHeaderLayer for displaying 3 levels of column headers. I want to switch to NatTable 1.6 and use performance ColumnGroupHeaderLayer. I replaced ColumnGroupHeaderLayer and ColumnGroupGroupHeaderLayer implementation with performance ColumnGroupHeaderLayer.|
It worked, but last two column headers are not visible. See pic1 for reference. In pic1, I have marked with red where two group headers should appear - Called and Size. Also, if you see first column - Function - is freezed.
I have a BodyLayerStack which has following lines where I am freezing first column
SelectionLayer selectionLayer = new SelectionLayer(columnHideShowLayer);
ViewportLayer viewportLayer = new ViewportLayer(selectionLayer);
FreezeLayer freezeLayer = new FreezeLayer(selectionLayer);
CompositeFreezeLayer compositeFreezeLayer = new CompositeFreezeLayer(freezeLayer,
The above works fine with earlier NatTable 1.5 implementation, but it doesn't with 1.6. One observation is, if I replace the underlying layer with viewportLayer instead of compositeFreezeLayer, it lays out all the group headers properly. See pic2 for reference, but I am loosing out the freezing functionality in first column (Function).
What could be the mistake here? Please help.
(Size: 18.33KB, Downloaded 96 times)
(Size: 11.37KB, Downloaded 97 times)
Powered by FUDForum
. Page generated in 0.01832 seconds