<EjsGrid DataSource="@Orders” AllowPaging="true">
<GridEvents RowSelected="Select" RowDeselected="DeSelect" TValue="Order"></GridEvents>
. . . . . . . . .
</EjsGrid>
@code{
public List<Order> Orders { get; set; }
public void Select(RowSelectEventArgs<Order> Args)
{
Console.WriteLine("Select");
}
public void DeSelect(RowDeselectEventArgs<Order> Args)
{
Console.WriteLine("DeSelect");
}
} |