Hello,
I have a grid where I am changing the sort in javascript when a certain action is performed.
The grid is paged, and when the sort occurs, it stays on the same page. I want the pager to reset (back to page 1).
This could be accomplished by:
var grid = $("#grid").data("kendoGrid");
grid.dataSource.sort({ field: "Name", dir: "asc" });
grid.dataSource.page(1);
However - both the sort and page methods cause the grid to refresh. (Read) Is there a way to avoid the multiple refreshes? i.e. Set the sort without refreshing the grid, then calling page(1) to refresh the grid?