Hi Dragan,
Greetings from Syncfusion support
We would like to inform that by setting args.cancel as true
will prevent the inbuilt operation. Here we have used ActionBegin event of
DataGrid and by using the request type as Save we have prevented the inbuilt
operation. Kindly check the attached code snippet and documentation for your
reference.
|
public async Task ActionBegin(ActionEventArgs<Order> args)
{
if(args.RequestType
== Syncfusion.Blazor.Grids.Action.Save && IsSave)
{
args.Cancel = true;
}
}
|
Reference: https://blazor.syncfusion.com/documentation/datagrid/events#onactionbegin
Please let us know if you have any concerns.
Regards,
Monisha