...
<EjsGrid DataSource="@Orders" AllowPaging="true" Toolbar="@(new List<string>() { "Add", "Edit", "Delete", "Cancel", "Update" })" RowSelected="@RowSelectHandler" OnActionComplete="@ActionCompletedHandler" OnActionBegin="@ActionBeginHandler">
<GridEditSettings AllowAdding="true" AllowEditing="true" AllowDeleting="true" Mode="EditMode.Normal"></GridEditSettings>
<GridColumns>
...
</GridColumns>
</EjsGrid>
@code{
public List<Order> Orders { get; set; }
public void ActionBeginHandler(ActionEventArgs args)
{
// Here you can customize your code
}
public void ActionCompletedHandler(ActionEventArgs args)
{
// Here you can customize your code
}
public void RowSelectHandler(RowSelectEventArgs args)
{
// Here you can customize your code
}
...
} |
...
<environment include="Development">
<link rel="stylesheet" rel='nofollow' href="css/bootstrap/bootstrap.min.css" />
</environment>
... |