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.
Unfortunately, activation email could not send to your email. Please try again.

Formatting unbound column in grouping grid

Thread ID:





34062 Sep 1,2005 05:28 AM Sep 1,2005 06:06 AM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On September 1, 2005 05:28 AM

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.

Administrator [Syncfusion]
Replied On September 1, 2005 06:06 AM

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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.