ASPxClientVerticalGrid.BatchEditChangesCanceling Event
Occurs on the client side before data changes are canceled in batch edit mode.
Declaration
BatchEditChangesCanceling: ASPxClientEvent<ASPxClientVerticalGridBatchEditChangesCancelingEventHandler<ASPxClientVerticalGrid>>
Event Data
The BatchEditChangesCanceling event's data class is ASPxClientVerticalGridBatchEditChangesCancelingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
cancel | Specifies whether to cancel the related action (for example, row edit, export). Inherited from ASPxClientCancelEventArgs. |
deletedValues | Gets a hashtable that maintains information about deleted cells. |
insertedValues | Gets a hashtable that maintains information about inserted cells. |
updatedValues | Gets a hashtable that maintains information about updated cells. |
Remarks
The ASPxVerticalGrid control allows you to modify a batch of grid data on the client side and send it to the server in a single request. All user changes are maintained on the client side until the Save changes button is clicked, or all changes are canceled by clicking the Cancel changes button.
The BatchEditChangesCanceling event occurs when an end-user has clicked the Cancel changes command button. The event argument properties allow you to obtain information about inserted, deleted, and updated cells. To cancel the current operation, set the event parameter’s cancel property to true
.