Infinite scrolling

Infinite scrolling functionality, added using custom js mod.

GridInfiniteScrollingDemo/Index.cshtml
@(Html.Awe().Grid("InfiniteScrollingGrid")
.Mod(o => o.PageInfo().InfiniteScroll().PageSize().ColumnsSelector())
.Columns(
new Column { Bind = "Id", Width = 75, Groupable = false, Resizable = false },
new Column { Bind = "Person" },
new Column { Bind = "Food" },
new Column { Bind = "Location" },
new Column { Bind = "Date", Width = 120 },
new Column { Bind = "Country.Name", ClientFormat = ".CountryName", Header = "Country" },
new Column { Bind = "Chef.FirstName,Chef.LastName", ClientFormat = ".ChefName", Header = "Chef" })
.Url(Url.Action("GetItems", "LunchGrid"))
.Resizable()
.Height(300)
.PageSize(20))



Comments