In the CellDataError event there is no context information like which cell had an error. In the event handler I can set the properties to override the default behaviour. But that would only work if I want the same behaviour always.
And then there is Error event which provides context. I don't know what would be the drawback of using 'Error' event over 'CellDataError' event.
BB said:In the CellDataError event there is no context information like which cell had an error.
You can use grid.ActiveCell.
BB said:'Error' event over 'CellDataError' event.
Is there any preference when you would choose between these events?