ASPxClientTreeList.BatchEditChangesSaving Event
Occurs on the client side before data changes are saved in batch edit mode.
Declaration
BatchEditChangesSaving: ASPxClientEvent<ASPxClientTreeListBatchEditChangesSavingEventHandler<ASPxClientTreeList>>
Event Data
The BatchEditChangesSaving event's data class is ASPxClientTreeListBatchEditChangesSavingEventArgs. 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 ASPxTreeList control allows you to modify a batch of tree list 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 Update button is clicked, or all changes are canceled by clicking the Cancel button.
The BatchEditChangesSaving event occurs when an end-user has clicked the Update 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
.