@{
    ViewBag.Title = "Home Page";
}

@(Html.Kendo().Grid<KendoMVCWrappers.Models.Person>().Name("people")
    .DataSource(dataSource => dataSource
        .Ajax()
        .Model(model=>model.Id(m=>m.PersonID))
            .Read(read => read.Action("GetPeople","Home"))
            .Update(up=>up.Action("UpdatePerson","Home"))
    )            
    .Columns(columns =>
    {
        columns.Bound(c => c.PersonID).EditorTemplateName("test");
        columns.Bound(c => c.Name);
        columns.Command(cmd => cmd.Edit());
    })            
    .Sortable()
    .Selectable()   
)