Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146230 | Jul 26,2019 03:14 PM UTC | Jul 31,2019 03:54 AM UTC | Blazor | 3 |
![]() |
Tags: Grid |
...
<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>
... |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.