ASPxClientVerticalGrid.BatchEditChangesSaving Event
Occurs on the client side before data changes are saved in batch edit mode.
Declaration
BatchEditChangesSaving: ASPxClientEvent<ASPxClientVerticalGridBatchEditChangesSavingEventHandler<ASPxClientVerticalGrid>>
Event Data
The BatchEditChangesSaving event's data class is ASPxClientVerticalGridBatchEditChangesSavingEventArgs. 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 BatchEditChangesSaving event occurs when an end-user has clicked the Save 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
.