I have a refresh button that seems to work on the browser reload but not on the actual refresh button reload. It's using a standard grid. What am I missing?
var gridRefresh = grid.dataSource.query({
sort: { field: "ProductName", dir: "desc" },
page: 2,
pageSize: 20
});
$('a.k-pager-refresh').on('click', function (){
gridRefresh.data("kendoGrid").dataSource.read();
});