BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
@{
object format;
format = new { type= "date", format= "dd.MM.yyy" };
}
@Html.EJS().Grid("FlatGrid").DataSource((IEnumerable<object>)ViewBag.dataSource).Columns(col =>
{
col.Field("EmployeeID").HeaderText("Employee ID").IsPrimaryKey(true).Width("120").Add();
col.Field("CustomerID").HeaderText("Customer Name").Add();
col.Field("ShipCountry").HeaderText("Ship Country").Width("150").Add();
col.Field("OrderDate").HeaderText("Order Date").Type("date").Format(format).Width("150").Add();
col.Field("Freight").HeaderText("Freight").Width("120").Add();
}).AllowPaging().AllowFiltering().FilterSettings(filter => { filter.Type(Syncfusion.EJ2.Grids.FilterType.Menu); }).Render()
|