Hi, I'm also trying to get the number of rows to display it on the top of the page.
So I did the thing you did, but both functions are returning 0 ...
Here is my code :
grid = $(
dataSource = grid.dataSource;
//records on current view / page
recordsOnCurrentView = dataSource.view().length;
totalRecords = dataSource.total();
"totalRecords : "
"recordsOnCurrentView : "
And this is what I see in the Chrome console :
Can you help me ? Thank you