[CLOSED] gridpanel with paging - set CheckboxSelectionModel on page load for all pages

  1. #1

    [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.
    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 6:31 AM. Reason: [CLOSED]
  2. #2
    Hi @PriceRightHTML5team,

    Here is an example of selection records from non-current pages. Please see the JavaScript code.
    http://forums.ext.net/showthread.php...ll=1#post92552

Similar Threads

  1. Replies: 3
    Last Post: Apr 17, 2013, 5:23 AM
  2. Load Ext:Gridpanel Conditionally on Page Load
    By kabirnig2405 in forum 1.x Help
    Replies: 0
    Last Post: Sep 02, 2011, 10:09 AM
  3. Replies: 5
    Last Post: May 30, 2011, 10:08 AM
  4. Replies: 3
    Last Post: Dec 01, 2010, 9:13 AM
  5. Replies: 0
    Last Post: Apr 29, 2010, 9:27 PM

Tags for this Thread

Posting Permissions