We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date


Is there a way to have multiple textcolors in the same cell? Let's say I display 4 words. I would like the first one to be red, the second one to be blue, ... Thank you for your help

1 Reply

AD Administrator Syncfusion Team February 24, 2003 01:26 PM UTC

In the upcoming 2.0 release, there will be support for a RichTextCell that will allow you to easily get this type of cell. If you want it right away, you could derive a cell control, say from GridStaticCellRenderer and GridStaticCellModel, and do you own drawing in the OnDraw override in teh renderer. You can get an idea of how to go about this from the DerivedCellControlTutorial which draws a colored link text in the cell. You woul dhave to do several draws, changing the colors between the drawing.

Live Chat Icon For mobile
Up arrow icon