

@using Kendo.Mvc.UI
@model List<RemoteGrid.Models.PersonModel>


@(Html.Kendo().Grid(Model)    
    .Name("Grid")
    .Columns(columns =>
    {
        columns.Bound(p => p.FirstName);
        columns.Bound(p => p.LastName);
      
    })
    .Sortable(s => s.AllowUnsort(false))
    .Resizable(resize => resize.Columns(true))
    .Scrollable(scrollable => scrollable.Virtual(true))
    .DataSource(dataSource => dataSource
            .Ajax()
            .PageSize(100)
            .Read(read => read.Action("Virtualization_GetPeople", "Home"))
            )
                 
      )


