Modifying text in a edit box control

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

1 Reply

AD Administrator Syncfusion Team October 19, 2006 10:30 AM UTC

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

Loader.
Up arrow icon