Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146210 | Jul 25,2019 07:29 PM UTC | Jul 26,2019 05:56 AM UTC | Blazor | 1 |
![]() |
Tags: Grid |
<EjsGrid @ref="@grid" AllowPaging="true" DataSource="@data" OnBatchSave="onsave" Toolbar="@(new List<string> {"Add","Edit","Delete","Update","Cancel" })">
<GridEditSettings AllowAdding="true" AllowDeleting="true" AllowEditing="true" Mode="EditMode.Batch"></GridEditSettings>
<GridColumns>
<GridColumn Field=@nameof(Orders.OrderID) HeaderText="Order ID" Type="number" ISPrimaryKey="true" Width="90"></GridColumn>
<GridColumn Field=@nameof(Orders.CustomerID) HeaderText="Customer ID" Type="string" Width="90"></GridColumn>
<GridColumn Field=@nameof(Orders.EmployeeID) HeaderText="Employee ID" Type="string" Width="90"></GridColumn>
<GridColumn Field=@nameof(Orders.Freight) HeaderText="Freight" Type="number" Width="90"></GridColumn>
<GridColumn Field="Employee.Address" HeaderText="Address" Type="string" Width="90"></GridColumn>
<GridColumn Field="Employee.ID" HeaderText="ID" Type="number" Width="90"></GridColumn>
</GridColumns>
</EjsGrid> |
|
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.