VSFlexGrid Control > VSFlexGrid Properties, Events, and Methods > VSFlexGrid Events > AfterEdit Event |
Fired after the control exits cell edit mode.
Private Sub VSFlexGrid_AfterEdit( ByVal Row As Long, ByVal Col As Long)
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 ValidateEdit event instead.