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
close icon

Formatting unbound column in grouping grid

I have an unbound column and set the value in the QueryValue handler. Now I want to apply a format depending on the cell value in this column. I am trying to do this in the QueryCellStyleInfo handler. However, I haven''t been able to find out how to get the cell value in the QueryCellStyleInfo handler. Could you please direct me to the right properties to use? Thanks.

1 Reply

AD Administrator Syncfusion Team September 1, 2005 10:06 AM UTC

In QueryCellStyleInfo, you get the cell value directly from e.Style.CellValue. But if you just want to format the text that is displayed, you can handle the TableControlDrawCellDisplayText and set e.DisplayText there to easily control what text is drawn in the cell.

Loader.
Live Chat Icon For mobile
Up arrow icon