[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Changing Row color of table viewer on Specific condition
|
Old API: Implement ITableColorProvider
New API: Implement ColumnLabelProvider#getBacground(Object)
Tom
Arunagiri.K schrieb:
Dear All,
I need to change the row color of my table viewer on some conditions.
For ex if my first column contains the value 1 then the row color should
change in RED.
How can I do that? (Currently I am iterating the table and setting
table.getItem(i).setBackground(color))
Thanks,
-arun
--
B e s t S o l u t i o n . at
--------------------------------------------------------------------
Tom Schindl JFace-Committer
--------------------------------------------------------------------