Greetings!
I am trying to get rows count from Grid datasource via using standard API. Here is the code
var grid = $("#contractProductsGrid").data("kendoGrid");
grid.dataSource.read();
console.log(grid);
console.log(grid.dataSource.total())
total() - gives me 0 but if i check grid object in console log I can see _data array with length 1 (for grid with 1 row)