Blazor DataGrid inline editing save event

wondering if there is an event that is sent when the user saves a row using inline editing

need to be able to call a web api to save the data

thanks

Michael Salzlechner

1 Reply 1 reply marked as answer

JP Jeevakanth Palaniappan Syncfusion Team April 19, 2021 12:09 PM UTC

Hi Michael, 

Greetings from Syncfusion support. 

We have checked your query and we would like to inform you that for every actions in grid, OnActionBegin and OnActionComplete event will be triggered with its corresponding RequestType and Action. You can call the webapi in the OnActionComplete event. Please refer the below decomentation for your reference. 

<GridEvents TValue="Order” OnActionComplete="ActionComplete"></GridEvents> 
 
@code{ 
    public void ActionComplete(ActionEventArgs<Order> args) 
    { 
        if (args.RequestType.Equals(Syncfusion.Blazor.Grids.Action.Save) && args.Action.Equals("Edit")) 
        { 
 
        } 
    } 
} 


Regards, 
Jeevakanth SP. 


Marked as answer
Loader.
Up arrow icon