<EjsGrid DataSource="@Orders">
<GridEvents OnActionBegin="OnActionBegin" TValue="Order"></GridEvents>
...
</EjsGrid>
@code{
...
public void OnActionBegin(ActionEventArgs<Order> args)
{
if(args.RequestType.ToString() == "Save")
{
// Here you can fetch the current edited data using "args.Data"
}
}
}
|