Anyone know why when I change my grid's page it only seems to really change the page after my function completes? e.g.
var g = $("#MyGrid").data("kendoGrid");
If I try to find a record on this new page by doing something like this:
var dataItem = g.dataSource.get(MyRecordID);
DataItem is unknown
But if I wait until the function finishes it does change the grid's page.
If I set a breakpoint I can see the grid's datasource page is set to 2, but the data still has the old page one loaded...