Fired after the control exits cell edit mode.
Public Event AfterEdit As CellEventHandler
The following parameters are available:
|Row||The index of the row that caused the event.|
|Col||The index of the column that caused the event.|
This event is fired after the contents of a cell have been changed by the user. It is useful for performing actions such as re-sorting the data or calculating subtotals.
The AfterEdit event is not adequate for performing data validation, because it is fired after the changes have been applied to the control. To validate user-entered data, use the CellValidating event instead.