|Grid - background and foreground color [message #61417]
||Fri, 19 December 2008 01:40
| Dhiresh Patel
Registered: July 2009
I have Nebula grid with tree in first column.|
I am changing background and foreground color of rows
depending upon data type. So for e.g. for a given data type
I am changing foreground to red color. And this I can do easily.
However the problem I have is when user select that row.
The default selection color is used and what I would like
to do is have a background color of red and foreground color
of white on selection. I use to do this on SWT Tree or SWT Table
by using SWT.PaintItem and SWT.EraseItem events.
Is there any other way to do above?
Appreciate any help,
Powered by FUDForum
. Page generated in 0.01501 seconds