when I turn filterable and sortable true filter and sorting is not updating my grid.Grid views list fine. all other functions are working except filtering and sorting.
5 Answers, 1 is accepted
answered on 07 Sep 2018, 12:19 PM
I noticed that the dataSource is configured for server operations but the operations are not handled.
The Kendo.UI.Mvc.dll includes the ToDataSourceResult which will page, filter, sort, or group your data using the information provided by the grid. You can either use the ToDataSourceResult method or handle the requests manually.
The ToDataSourceResult method accepts a DataSourceRequest parameter which contains information about page, sort, group, and filter.
public IActionResult PortList([DataSourceRequest]DataSourceRequest command)
var ports = _worldPortIndexService.GetAllPorts(pageIndex: command.Page - 1, pageSize: command.PageSize);
var model = ports.Select(p =>
var store = _worldPortIndexService.GetPortById(p.Id);
return new PortMainModel
Id = p.Id,
PortName = p.PortName,
UNLOCODE = p.UNLOCODE,
Country = p.Country,
LatDec = p.LatDec,
LonDec = p.LonDec
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.