Fires in response to changing the edit value.
public event CellValueChangedEventHandler CellValueChanging
Public Event CellValueChanging As CellValueChangedEventHandler
The CellValueChanging event's data class is CellValueChangedEventArgs. The following properties provide information specific to this event:
|CellIndex||Gets the processed cell’s index. Inherited from RowCellEventArgs.|
|RecordIndex||Gets the index of the record containing the processed cell. Inherited from RowCellEventArgs.|
|Row||Gets the processed row. Inherited from RowEventArgs.|
|Value||Gets the current cell’s value.|
The CellValueChanging event is raised each time the edited value is being changed (a user types or deletes a character, chooses a value from the dropdown list, etc.). This event parameter’s properties identify the row and record that contain the edited cell and its current value.
The CellValueChanging event doesn’t fire when changing cell values in code. Handle this event if you need to provide an immediate response to end-user actions.