AfterEdit Event

Fired after the control exits cell edit mode.

Syntax

Public Event AfterEdit As CellEventHandler

Applies To

Grid Object

Parameters

The following parameters are available:

Parameter Description
Row The index of the row that caused the event.
Col The index of the column that caused the event.

Remarks

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.

See Also

BeforeEdit Event, CellValidating Event, CellValueChanged Event