'Declaration
Public Event BeforeDeleteRow As RowColEventHandler
public event RowColEventHandler BeforeDeleteRow
Event Data
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. |
Remarks
This event only fires when C1FlexGridBase.AllowDelete is set to true and the user deletes one or more rows by selecting them and pressing the DEL key. It does not fire when rows are removed from the grid programmatically or through the grid's data source.
You can use this event to cancel the deletion of the rows by setting the Cancel parameter to true.
See Also