GridDataItemDeletingEventArgs.Cancel Property
Specifies whether the data item is removed from the underlying data source.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v22.1.dll
NuGet Package: DevExpress.Blazor
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
Boolean | true if the data item is not removed from the data source; otherwise, false. |
Remarks
If you do not remove the data item from the data source, set the Cancel
event argument to true
to ensure further correct operations in the Grid.
Refer to the DataItemDeleting event description for information about event arguments and an example. For information on how to enable data editing, see the following topic: Edit Data and Validate Input.
See Also