1. #11
    Sencha User
    Join Date
    Feb 2013
    Location
    NZ
    Posts
    79
    Vote Rating
    0
    mazhar.shaikh is on a distinguished road

      0  

    Default Using the SelectAll button on the Header of the Grid Doesnt work

    Using the SelectAll button on the Header of the Grid Doesnt work


    Using the SelectAll checkbox will only select rows on the current page. What if I want to select all the records on every page.

  2. #12
    Sencha User
    Join Date
    Nov 2011
    Location
    Delhi
    Posts
    22
    Vote Rating
    0
    ashu2289 is on a distinguished road

      0  

    Default Fix for the loading mask issue in this plugin

    Fix for the loading mask issue in this plugin


    Hi,

    I looked at the loading mask window issue in this case, for making your code work with loading mask you need to override the native "onMaskBeforeShow" function of Extjs api within viewConfig.

    GridView is an extension to AbstractView which gets the current selection model and clears it all before navigation to the second page in the grid.
    Sample implementation would be like this:
    Code:
    viewConfig:{
                        style:{ overflow:'hidden' },
                        onMaskBeforeShow: function(){
    
    //Place your custome code here....
    //below is just a sample piece of code it will work fine even if you leave this handler empty.
    
                            var grid = Ext.getCmp('resultGrid');
                            var loadingHeight = grid.loadingHeight;
                           if (loadingHeight) {
                                grid.setCalculatedSize(undefined, loadingHeight);
                            }
                            
                        } 
                       
                    }
    I hope it helps you guys

  3. #13
    Sencha User
    Join Date
    Feb 2013
    Location
    NZ
    Posts
    79
    Vote Rating
    0
    mazhar.shaikh is on a distinguished road

      0  

    Default


    Thanks for your reply. Unfortunately I couldnt find a solution to this in time. So I changed the requirement and removed paging from my grid. So that was the workaround I used.

    Thanks anyway.