Skip to main content

GridEditModelSavingEventArgs.Cancel Property

Specifies whether to continue row editing.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public bool Cancel { get; set; }

Property Value

Type Description
Boolean

true to continue row editing; otherwise, false.

Remarks

The EditModelSaving event fires when you call the SaveChangesAsync() method or a user saves changes and validation succeeds. Handle this event to make final data changes, check access permissions, and post changes to the underlying data source. To continue row editing, set the Cancel property to true.

Refer to the EditModelSaving event description for information about event arguments and an example. For information on how to enable data editing, see the following topic: Editing and Validation in Blazor Grid.

See Also