It doesn't seem to work for me
It is supposed to but I haven't found complete documentation on how to do this. For example I was able to set Virtual to true with the following code(note I am using MVC extensions).
The server code
Code works for the first page only.
The grid fills up with the first page of data but nothing else. Since the grid has no idea how many rows are in the database it just forgets about any more records. I don't know how to complete the last part to get the dynamic virtual paging to work properly. Any help would be greatly appreciated.
Thanks
It is supposed to but I haven't found complete documentation on how to do this. For example I was able to set Virtual to true with the following code(note I am using MVC extensions).
.Scrollable(s => s.Virtual(true).Height(532))
public
ActionResult IndexEmployeesGridData([DataSourceRequest] DataSourceRequest request)
{
var model = _employeeService.GetEmployeesDataViewModel(request.Page, request.PageSize).Where(e => e.IsActive);
return
Json(model.ToDataSourceResult(request), JsonRequestBehavior.AllowGet);
}
Code works for the first page only.
The grid fills up with the first page of data but nothing else. Since the grid has no idea how many rows are in the database it just forgets about any more records. I don't know how to complete the last part to get the dynamic virtual paging to work properly. Any help would be greatly appreciated.
Thanks