Hi
Is there any way I can loop through the rows for a particular page or at least the page visible to the user.
What am I doing right now is iterating through all the rows in the datasource as below
But what if I want to iterate on the rows of a particular page.
I can get the current page by grid.dataSource.page(); Then what's next?
Please advise.
Is there any way I can loop through the rows for a particular page or at least the page visible to the user.
What am I doing right now is iterating through all the rows in the datasource as below
var grid = $("#MyKendoGrid").data("kendoGrid");
var data = grid.dataSource.data();
$.each(data, function (i, row) {
//do something
});
But what if I want to iterate on the rows of a particular page.
I can get the current page by grid.dataSource.page(); Then what's next?
Please advise.