'Declaration Public Event CellChanged As RowColEventHandler
public event RowColEventHandler CellChanged
The event handler receives an argument of type RowColEventArgs containing data related to this event. The following RowColEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the operation should be canceled. |
Col | Gets the index of the column that caused the event. |
Row | Gets the index of the row that caused the event. |
This event allows you to perform processing whenever the contents of a cell change by typing data in a cell or assigning data throught code.
This event does not fire if the data was changed in database.
This event can be used to provide conditional formatting and dynamic data summaries, which get updated automatically whenever the data changes.
This event fires in bound and unbound modes. In some bound more scenarios, the data source object may inform the grid that some data in the current row changed, without specifying which column changed. In this case, the Col parameter will be set to -1. Event handlers should be prepared to handle this situation without throwing exceptions.