@model IEnumerable<WeBOC.Support.Entities.ImportUnit> @{ ViewBag.Title = "Import Units"; } <h2>Import Units</h2> @(Html.Kendo().Grid(Model) .Name("Grid") .Columns(columns => { columns.Bound(p => p.UnitNbr).Width(150).ClientTemplate(@Html.ActionLink("#=UnitNbr#", "UnitInspector", new { id = "#=UnitId#" }).ToHtmlString()).Title("Unit No."); columns.Bound(p => p.VIRNbr).Width(150).Title("VIR No."); columns.Bound(p => p.BLNbr).Width(150).Title("BL No."); columns.Bound(p => p.IGMStatus).Width(80).Title("IGM Status"); columns.Bound(p => p.LineCode).Width(80).Title("Line Code"); columns.Bound(p => p.Arrived).Format("{0:dd/MM/yyyy HH:mm}").Width(150).Title("Arrived"); }) .Groupable() .Pageable() .Sortable() .Filterable() .DataSource(dataSource => dataSource .Ajax() .PageSize(20) .ServerOperation(false) ) )
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)