Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Change Even/Odd Row Configuration
Change Even/Odd Row Configuration [message #1219830] Fri, 06 December 2013 07:44 Go to next message
Ali Malik is currently offline Ali MalikFriend
Messages: 27
Registered: August 2013
Junior Member

Currently, the Row Style Configuration allows us to change the oddRowBgColor and evenRowBgColor.

I was wondering if there is an option to set evenRowImage, and oddRowImage instead.

If not, how could I go about it?

Re: Change Even/Odd Row Configuration [message #1219833 is a reply to message #1219830] Fri, 06 December 2013 08:26 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2775
Registered: July 2012
Senior Member
That depends on what you are trying to achieve.

Technically you are able to set an Image to the style configuration. But that is only interpreted by the ImagePainter IIRC.

So you will need to register different painters to render the image. If it should be rendered as foreground image, you will need the ImagePainter. If you want to render different background images, you will need to register different BackgroundImagePainters for odd/even row labels.
Previous Topic:Change Icon in Text editor control decoration
Next Topic:Frozen Columns - Drawing error
Goto Forum:

Current Time: Thu Feb 20 21:52:17 GMT 2020

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

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

Back to the top