Skip to main content



      Home
Home » Eclipse Projects » NatTable » How to change the color of the only some part of the string in the cell(to change the color of the only some part of the string)
How to change the color of the only some part of the string in the cell [message #1831767] Fri, 28 August 2020 08:41 Go to next message
Eclipse UserFriend
I was able to change the color of the value inside the cell by setting the foreground color. but i want to change the color of the some part of the cell value color

For Example: if my cell contains ABCD value only D i need in red color.

How to do it in NatTable?

Thanks in advance.
Re: How to change the color of the only some part of the string in the cell [message #1831810 is a reply to message #1831767] Sun, 30 August 2020 15:00 Go to previous messageGo to next message
Eclipse UserFriend
This is only possible using the Nebula RichTextCellPainter or a custom painter.
Re: How to change the color of the only some part of the string in the cell [message #1831813 is a reply to message #1831810] Mon, 31 August 2020 01:23 Go to previous message
Eclipse UserFriend
@Drik Thanks for the reply.
Previous Topic:FilterLayer
Next Topic:Scrolling changing style
Goto Forum:
  


Current Time: Mon May 19 18:23:02 EDT 2025

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

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

Back to the top