Change Highlight fore Color

Posted by: maximusdebois on 18 December 2021, 6:48 pm EST

  • Posted 18 December 2021, 6:48 pm EST

    Am using flexgrid and I have set my highlight color to light blue and fore color to black. I have a column which contains data for status. If the status contains “Obsolete” I want the hightlight fore color to change to Red.

    I really need this help.

  • Posted 20 December 2021, 2:13 am EST

    Hi,

    You can use the OwnerDrawCell event of the C1FlexGrid to change the ForeColor of the Highlight style based on the value in the Status column. Kindly refer to the attached sample showing the same.

    Please let us know if you need any other information.

    Regards.

    Avnish

    CustomHighlight_FG.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels