Skip to main content
All docs
V22.2

ASPxClientVerticalGridBatchEditRecordChangesCancelingEventArgs Class

Contains data for the BatchEditRecordChangesCanceling event.

Declaration

declare class ASPxClientVerticalGridBatchEditRecordChangesCancelingEventArgs extends ASPxClientCancelEventArgs

Remarks

An ASPxClientVerticalGridBatchEditRecordChangesCancelingEventArgs object is automatically created and passed to the ASPxClientVerticalGridBatchEditRecordChangesCancelingEventHandler as a parameter.

Web Forms:

<dx:ASPxVerticalGrid runat="server" ID="VerticalGrid" ...>
    <Rows>
        <dx:VerticalGridCommandRow ShowCancelButton="true" />
        <!--...-->
    </Rows>

    <SettingsEditing Mode="Batch" />

    <ClientSideEvents BatchEditRecordChangesCanceling="onBatchEditRecordChangesCanceling" />
</dx:ASPxVerticalGrid>
function onBatchEditRecordChangesCanceling(s, e) {
    e.cancel = true;
}

MVC:

@Html.DevExpress().VerticalGrid(settings => {
    settings.Name = "VerticalGrid";
    settings.ClientSideEvents.BatchEditRecordChangesCanceling = "function (s, e) {e.cancel = true;}";
    settings.SettingsEditing.Mode = VerticalGridEditingMode.Batch;
    settings.CommandRow.ShowCancelButton = true;
    ...
}).Bind(Model).GetHtml()

Inheritance

ASPxClientEventArgs
ASPxClientCancelEventArgs
ASPxClientVerticalGridBatchEditRecordChangesCancelingEventArgs
See Also