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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Last major question...Hash Values

Thread ID:

Created:

Updated:

Platform:

Replies:

23521 Jan 13,2005 06:23 PM UTC Jan 13,2005 07:13 PM UTC WinForms 3
loading
Tags: GridControl
Spencer Robinson
Asked On January 13, 2005 06:23 PM UTC

I want to take values out of my DataSource (let''s say the value is a "1") and put that through a Hash to get a different value to show up (In this situation lets say "1" maps to "Employee"). Is this achievable with the DataBoundGrid?

Administrator [Syncfusion]
Replied On January 13, 2005 06:33 PM UTC

If you just want to swap out the displayed text (not really do anything with it except see it on the screen), then you can handle the DrawCellDisplayText event. There get the e.DisplayText, and reset it to be what you want to see.

Spencer Robinson
Replied On January 13, 2005 06:48 PM UTC

OK...but in hooking that event I have access to the text to be Displayed, but how do I know what column is firing that? I only want to do this on say one out of three columns so is there a way to hook it for only one column?

Administrator [Syncfusion]
Replied On January 13, 2005 07:13 PM UTC

Try e.Style.CellIdentity.ColIndex

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

;