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.

How to modify field information before they are displayed in a GridDataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

44737 Jun 1,2006 01:18 PM Jun 9,2006 03:40 PM Windows Forms 2
loading
Tags: GridControl
Stephane Guerin
Asked On June 1, 2006 01:18 PM

I use the GridDataBoundGrid to display some table of my db. However some column does not contain "human readable" information. I need to parse the information to translate it into something meanfull to the user. The resulting will be a simple string. How can I acheive that? I know in standard DataBinding, you can override de Format function, but I did not found how I could do something similar with the grid. Thank you! Stephane

Administrator [Syncfusion]
Replied On June 1, 2006 11:32 PM

Hi Stephane, The QueryCellFormattedText event can be handled and there the cell value can be parsed and the resultant simple string can be set to the e.Text. Sample attached. Regards, Calvin.

FormattedText.zip

Stephane Guerin
Replied On June 9, 2006 03:40 PM

Thanks! That''s what I need. Stephane

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.

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.

;