Hi,
I have an MVC grid view and I'm setting the current sort value of the grid programatically (similar to http://stackoverflow.com/questions/13863111/kendoui-programmatically-setting-grid-sort). I don't wish to actually sort the grid at the time I set the sort so I'm doing something like this
var grid = $("#ServiceAuth").data('kendoGrid');
grid.dataSource.options.sort = [{ field: "AuthType", dir: "asc" }];
and then when I do actually want to sort the grid:
grid.dataSource.sort(grid.dataSource.options.sort);
Data-wise this sorts the grid correctly, however the new sort isn't reflected on the indicators at the top of the grid. Is there a way to do this so the grid reflects the data sources sort property?
Thanks in advance for your help