if i have this code
@(Html.Kendo().Grid(Model)
.Name("Grid")
.Columns(columns =>
{
columns.Bound(p => p.emplmark).Groupable(false);
columns.Bound(p => p.firstname);
columns.Bound(p => p.lastname);
columns.Bound(p => p.location);
columns.Bound(p => p.county);
})
.Groupable()
.Pageable()
.Sortable()
.Scrollable()
.Filterable()
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action("GetWork", "Company"))
)
)
The source return around 2000 records,but after i press next page(page 2),the data disapear.why?it isn't enough to put Pageable,to work the paging?
@(Html.Kendo().Grid(Model)
.Name("Grid")
.Columns(columns =>
{
columns.Bound(p => p.emplmark).Groupable(false);
columns.Bound(p => p.firstname);
columns.Bound(p => p.lastname);
columns.Bound(p => p.location);
columns.Bound(p => p.county);
})
.Groupable()
.Pageable()
.Sortable()
.Scrollable()
.Filterable()
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action("GetWork", "Company"))
)
)
The source return around 2000 records,but after i press next page(page 2),the data disapear.why?it isn't enough to put Pageable,to work the paging?