Skip to main content



      Home
Home » Eclipse Projects » NatTable » Change Even/Odd Row Configuration
Change Even/Odd Row Configuration [message #1219830] Fri, 06 December 2013 02:44 Go to next message
Eclipse UserFriend
Hi,

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?

Tony
Re: Change Even/Odd Row Configuration [message #1219833 is a reply to message #1219830] Fri, 06 December 2013 03:26 Go to previous message
Eclipse UserFriend
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: Sat Nov 15 09:33:50 EST 2025

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

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

Back to the top