Skip to main content

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 #593047] 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:Grid - background and foreground color
Next Topic:DateChooserCombo unit testing problem
Goto Forum:

Current Time: Wed Jun 20 02:29:32 GMT 2018

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

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

Back to the top