Skip to main content
All docs
V24.2

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