How to add one GridColumnGroup into another GridColumnGroup in nebula grid?

501 Views Asked by At

I have used a nebula Grid (org.eclipse.nebula.widgets.grid.Grid) in my view. I have used its GridColumnGroup features for what they are meant. Now I want to design the grid GUI as in the design image below, i.e. the grid should have multi-level column groups (one GridColumnGroup in another GridColumnGroup). enter image description here

As in the design image, there are two sub-ColumnGroups (namely 2-Stroke Engines and 4-Stroke Engines)in the outermost GridColumnGruop (namely engine Price List) and actual GridColumns are to be placed inside respective sub-ColumnGroups. How to achieve this in nebula grid ? Or any alternatives ?

2

There are 2 best solutions below