or
@(Html.Kendo().Grid(Model) .Name("Grid") .HtmlAttributes(new { style = "font-size:.85em;" }) .Columns(columns => { columns.Bound(p => p.Id).Width(60); columns.Bound(p => p.Title).Width(250); columns.Bound(p => p.AssignedUser).Width(120); }) .Pageable() .Groupable() .Sortable() .Filterable(filterable => filterable .Extra(false) .Operators(operators => operators .ForString(str => str.Clear() .StartsWith("Starts with") .Contains("Contains") .IsEqualTo("Is equal to") .IsNotEqualTo("Is not equal to"))) ) .Selectable(selectable => selectable .Mode(GridSelectionMode.Single)) .DataSource(dataSource => dataSource .Ajax() .Read(read => read.Action("Get", "Grid", new {showAll = ViewBag.ShowAll})) ) .Events(e => e.Change("onChanged").DataBound("onDataBound")))public class Product { [Key] [ScaffoldColumn(false)] public int ProductId { get; set; } public string Name { get; set; } public int Number { get; set; } public virtual ICollection<PurchaseInvoiceDetail> PurchaseInvoiceDetail { get; set; } }public class PurchaseInvoiceDetail { [Key] public int PurchaseInvoiceDetailId { get; set; } public int Number { get; set; } public decimal PurchasePrice { get; set; } //Navigation Properties public int ProductId { get; set; } public virtual Product Product { get; set; } }window.app = new kendo.mobile.Application(document.body, { layout: "mainLayout", skin: "flat", hideAddressBar: true, icon: "Images/FileName.png", title: "App Name"});