ASPxClientTreeList.BatchEditNodeDeleting Event
Occurs on the client side before a node is deleted in batch edit mode.
Declaration
BatchEditNodeDeleting: ASPxClientEvent<ASPxClientTreeListBatchEditNodeDeletingEventHandler<ASPxClientTreeList>>
Event Data
The BatchEditNodeDeleting event's data class is ASPxClientTreeListBatchEditNodeDeletingEventArgs. 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. |
nodeKey | Gets the processed node’s key value. |
nodeValues | Gets the value of the processed cell. |
Remarks
The tree list 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.
The BatchEditNodeDeleting event occurs when an end-user has clicked the Delete command button. The event argument properties allow you to identify the processed node by its key (nodeKey), and to obtain information about deleted cells (nodeValues). To cancel the current operation, set the event parameter’s cancel property to true
.