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.

Modifying text in a edit box control

Thread ID:

Created:

Updated:

Platform:

Replies:

50791 Oct 18,2006 11:28 PM Oct 19,2006 06:30 AM Windows Forms 1
loading
Tags: GridControl
Bill Langlais
Asked On October 18, 2006 11:28 PM

I own the Grid Control and was wondering if any of the controls that it comes with can be used to change the text that is drawn when the control is painted like you can in the GridGroupingControl by overiding the grids TableControlDrawCellDisplayText?

Thanks

WJL

Administrator [Syncfusion]
Replied On October 19, 2006 06:30 AM

Hi Bill,

For a GridControl, you can handle the DrawCellDisplayText and set the e.DisplayText to some value to want to display in the cell. Use the e.Style.CellIdentity.RowIndex and e.Style.CellIdentity.ColIndex to get the row and column of the cell for which the displaytext has to be set.

Let me know if you are looking something else.
Thanks,
Rajagopal

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.

;