Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 12:41 Go to next message
Chinniah Govindasamy is currently offline Chinniah GovindasamyFriend
Messages: 12
Registered: December 2017
Junior Member
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 19:00 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
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 05:23 Go to previous message
Chinniah Govindasamy is currently offline Chinniah GovindasamyFriend
Messages: 12
Registered: December 2017
Junior Member
@Drik Thanks for the reply.
Previous Topic:FilterLayer
Next Topic:Scrolling changing style
Goto Forum:
  


Current Time: Thu Apr 25 06:04:33 GMT 2024

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

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

Back to the top