<EjsGrid @ref="GridInstance" DataSource="@Orders" AllowPaging="true" Toolbar="@(new List<string>() { "Search"})">
<GridEvents OnActionComplete="OnActionComplete" ... TValue="Order"></GridEvents>
<GridSearchSettings Fields="@SearchField" Operator="Operator.Contains" IgnoreCase="true"></GridSearchSettings>
...
</EjsGrid>
@code{
EjsGrid<Order> GridInstance;
public List<Order> Orders { get; set; }
public string[] SearchField = new string[] { "OrderID" };
...
}
|