All docs
V21.2
21.2
21.1
The page you are viewing does not exist in version 21.1. This link will take you to the root page.
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxClientGridViewBatchEditRowChangesCancelingEventArgs Class

Contains data for the BatchEditRowChangesCanceling event.

Declaration

declare class ASPxClientGridViewBatchEditRowChangesCancelingEventArgs extends ASPxClientCancelEventArgs

Remarks

An ASPxClientGridViewBatchEditRowChangesCancelingEventArgs object is automatically created and passed to the ASPxClientGridViewBatchEditRowChangesCancelingEventHandler as a parameter.

Web Forms:

<dx:ASPxGridView runat="server" ID="gridView"...>
    <Columns>
        <dx:GridViewCommandColumn ShowCancelButton="true" />
        <!--...-->
    </Columns>
    <SettingsEditing Mode="Batch" />
    <ClientSideEvents BatchEditRowChangesCanceling="onBatchEditRowChangesCanceling" />
</dx:ASPxGridView>
function onBatchEditRowChangesCanceling(s, e) {
    e.cancel = true;
}

MVC:

@Html.DevExpress().GridView(settings => {
    settings.Name = "gridView";
    settings.ClientSideEvents.BatchEditRowChangesCanceling = "function (s, e) {e.cancel = true;}";
    settings.SettingsEditing.Mode = GridViewEditingMode.Batch;
    settings.CommandColumn.ShowCancelButton = true;
    ...
}).Bind(Model).GetHtml()

Inheritance

ASPxClientEventArgs
ASPxClientCancelEventArgs
ASPxClientGridViewBatchEditRowChangesCancelingEventArgs
See Also