|Set Background color to the selected portion in the tree.. [message #1647728]
||Tue, 03 March 2015 15:31
| Amol Salunke
Registered: March 2015
I have requirement where we need to set the perticular background color when we select the group of column. It means, The column color shall differentiate between the selected and non-selected columns.
Ina nattable where we have hierarchical structure and non hierarchical structure,
we set the Background color(gray) to the tree structure(hierarchical structure ) and default (white) to non hierarchical structure.
I have tried to set the background color using 'configRegistry.registerConfigAttribute(CellConfigAttributes.CELL_STYLE,selectionCellStyle,DisplayMode.SELECT); '.
But this color sets only the non hierarchical structure in the body as this is configregistry for Nattable not the tree.
Question is: What I need to do to change the background color for hierarchical structure as well to the selected columns.
Could you please suggest?
[Updated on: Tue, 03 March 2015 15:32]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01413 seconds