Reputation: 4275
I have a trouble at my grid when I load state. The paging bar is being broken whenever I do this.
to understand please take a glance through this example: http://dojo.telerik.com/@doktoresperanto/oJiVu
Upvotes: 1
Views: 101
Reputation: 30671
You also need to pass the data source aggregates because the footer template depends on them (your demo has an "undefined" error because of missing aggregates). Here is how:
grid.dataSource.query({"page":3,"pageSize":7, aggregate: grid.dataSource.aggregate() });
And a live demo: http://dojo.telerik.com/@korchev/oDoPE
Upvotes: 1