I have the following code:
function foo()
{
var view = $("#myGrid").data("kendoGrid").dataSource.view();
var data = $("#myGrid").data("kendoGrid").dataSource.data();
var b = (view == ds);
}
My grid has 6,527 records, with 10 records per page. Both my view and data objects only have 10 elements.
In this scenario, b is true.
According to:
- This post, my second line is supposed to return all rows from all pages
- This answer implies the same thing -- that
dataSource.data()would return all of the data - From Telerik's forum again it looks like
data()should be what I want
So, how can I get all rows of data from my grid, even if they aren't currently visible?