The BatchEditRowDeleting event handler receives an argument of the ASPxClientGridViewBatchEditRowDeletingEventArgs type. The following properties provide information specific to this event.
Gets or sets a value indicating whether the action which raised the event should be canceled.
(Inherited from ASPxClientCancelEventArgs)
|key||Gets the row's key.|
|rowValues||Gets a hashtable that maintains information about deleted cells.|
|visibleIndex||Gets the processed row's visible index.|
The ASPxGridView control allows you to modify a batch of grid data on the client side and send it to the server in a single request.
The BatchEditRowDeleting event occurs when an end-user has clicked the Delete command button. The event argument properties allow you to identify the processed row by its visible index (visibleIndex), and to obtain information about deleted cells (rowValues). To cancel the current operation, set the event parameter's cancel property to true.
For a full example, refer to ASPxGridView in Batch Edit mode - Implement the Select All feature for the CheckBox column.
The following example illustrates how to use the BatchEditRowDeleting event.