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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Formatting unbound column in grouping grid

Thread ID:

Created:

Updated:

Platform:

Replies:

34062 Sep 1,2005 09:28 AM UTC Sep 1,2005 10:06 AM UTC WinForms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On September 1, 2005 09:28 AM UTC

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 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.

CONFIRMATION

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.

Warning Icon 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.Close Icon

;