AD
Administrator
Syncfusion Team
April 23, 2003 02:05 PM UTC
Try using the CurrentCellValidating event instead of the CurrentCellValidated event. In Validating, you can set e.Cancel to cancel the move. To get the new text, use grid.CurrentCell.Renderer.ControlText.
You can also set grid.CurrentCell.ErrorMessage to have the grid display a message for you if you like.