Sep 20, 2013, 12:24 PM
[CLOSED] gridpanel with paging - set CheckboxSelectionModel on page load for all pages
Hi,
Ours is Asp.Net MVC Razor view engine application.
we have a gridpanel which has paging applied to it.
following is our script to set CheckboxSelectionModel for the grid.
How to implement selection to all the gridpanel pages
Ours is Asp.Net MVC Razor view engine application.
we have a gridpanel which has paging applied to it.
following is our script to set CheckboxSelectionModel for the grid.
var selectedPacks = function () {
for (var i = 0; i < App.grdPacks.store.getCount() ; i++) {
if (App.grdPacks.store.getAt(i).get('IsSelected') == true) {
@*App.grdPacks.getSelectionModel().select(i, true);*@
App.grdPacks.getSelectionModel().selected.add(i);
}
}
The issue is selection is getting applied only to the first page. For other pages selection is not applied.How to implement selection to all the gridpanel pages
Last edited by Daniil; Sep 25, 2013 at 5:31 AM.
Reason: [CLOSED]