Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150189 | Dec 24,2019 11:46 PM UTC | Jan 22,2020 12:20 PM UTC | Blazor | 7 |
![]() |
Tags: Grid |
<EjsGrid @ref="grid" TValue="Order" Toolbar="@(new List<string> { "Search"})" Height="315">
<GridFilterSettings Columns="@FilterCols"></GridFilterSettings>
<GridSearchSettings Fields="@Cols"></GridSearchSettings>
<EjsDataManager AdaptorInstance="@typeof(CustomAdaptor)" Adaptor="Adaptors.CustomAdaptor"></EjsDataManager>
<GridColumns>
. . . . . . . . . . .
</GridColumns>
</EjsGrid>
@code{
EjsGrid<Order> grid { get; set; }
public List<GridFilterColumn> FilterCols = new List<GridFilterColumn>();
public static List<Order> Orders { get; set; }
public string[] Cols = new string[] { "OrderID", "OrderDate", "Freight" }; // define the columns here excluding the foreignkey column |
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.