In an ASP.NET MVC application, how could I retrieve the sort field and direction?
I see that the grid sends these parameters: sort[0][dir] and sort[0][field] but how could I retrieve them in c#?
or should I use the parameterMap setting?
but I don't find the implementation of convertSort, do you have an example?
I see that the grid sends these parameters: sort[0][dir] and sort[0][field] but how could I retrieve them in c#?
public JsonResult GetLogs(int page, int pageSize, int skip, int take, ???)or should I use the parameterMap setting?
parameterMap: function(options) { return { pageIndex: options.page, size: options.pageSize, orderBy: convertSort(options.sort) } } but I don't find the implementation of convertSort, do you have an example?