Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Grid - background and foreground color
Grid - background and foreground color [message #61417] Fri, 19 December 2008 01:40
Dhiresh Patel  is currently offline Dhiresh Patel Friend
Messages: 86
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,


Previous Topic:Display Date Format in Foramtted / DatFormatter Text Field.
Next Topic:Grid - background and foreground color
Goto Forum:

Current Time: Fri Oct 28 15:52:51 GMT 2016

Powered by FUDForum. Page generated in 0.01948 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software