BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<EjsGrid DataSource="@Orders" AllowPaging="true" Height="315">
<GridEvents CommandClicked="OnCommandClicked" TValue="Order"></GridEvents>
. . .. . . . . . .
</EjsGrid>
@code{
public void OnCommandClicked(CommandClickEventArgs<Order> args)
{
if(args.CommandColumn.Type == CommandButtonType.Edit)
{
// Perform required operations here
}
}
}
|
<EjsGrid DataSource="@Orders" AllowPaging="true" Height="315">
<GridEvents CommandClicked="OnCommandClicked" OnActionBegin="Begin" TValue="Order"></GridEvents>
. . . . . . . . .
</EjsGrid>
@code{
public List<Order> Orders { get; set; }
public void OnCommandClicked(CommandClickEventArgs<Order> args)
{
// Perform required operations here
}
public void Begin(ActionEventArgs<Order> Args)
{
if(Args.RequestType == Syncfusion.EJ2.Blazor.Grids.Action.Save)
{
var edit_new_data = Args.Data;
}
}
}
|