Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
<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 |