Skip to main content
All docs
V22.1

ASPxClientTreeListBatchEditNodeChangesCancelingEventArgs Class

Contains data for the BatchEditNodeChangesCanceling event.

Declaration

declare class ASPxClientTreeListBatchEditNodeChangesCancelingEventArgs extends ASPxClientCancelEventArgs

Remarks

An ASPxClientTreeListBatchEditNodeChangesCancelingEventArgs object is automatically created and passed to the ASPxClientTreeListBatchEditNodeChangesCancelingEventHandler as a parameter.

Web Forms:

<dx:ASPxTreeList ID="treeList" runat="server" ...>
    <Columns>
        <dx:TreeListCommandColumn>
            <CancelButton Visible="true" />
            <!--...-->
        </dx:TreeListCommandColumn>
    </Columns>
    <SettingsEditing Mode="Batch" />
    <ClientSideEvents BatchEditNodeChangesCanceling="onBatchEditNodeChangesCanceling" />
</dx:ASPxTreeList>

MVC:

@Html.DevExpress().TreeList(settings => {
    settings.Name = "treeList";
    settings.ClientSideEvents.BatchEditNodeChangesCanceling = "function (s, e) {e.cancel = true;}";
    settings.SettingsEditing.Mode = TreeListEditMode.Batch;
    ...
}).Bind(Model).GetHtml()

Inheritance

ASPxClientEventArgs
ASPxClientCancelEventArgs
ASPxClientTreeListBatchEditNodeChangesCancelingEventArgs
See Also