1. #1
    Sencha User
    Join Date
    Sep 2009
    Posts
    10
    Vote Rating
    0
    nagavasantha is on a distinguished road

      0  

    Default Unanswered: CheckboxSelectionModel Header Select All Issue

    Unanswered: CheckboxSelectionModel Header Select All Issue


    I have a grid with CheckBoxSelectionModel. Selecting the header checkbox checks all the records and deselecting the checkbox unchecks all the records, of course which is the behavior.

    I have a tree also in the same panel to the left side, and when I traverse the nodes in the tree, the grid gets updated with the new set of records.
    But, the checkbox selection in the column header still remains as checked and not able to uncheck the selection in the header. Needs a page refresh to get it unchecked.

    Any help will be appreciated.
    Thanks!

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,912
    Answers
    655
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    This as been reported: EXTJSIV-6075

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    1
    Vote Rating
    1
    smasam is on a distinguished road

      1  

    Default


    All,

    I faced the same issue. I used below override to overcome the issue.

    Ext.override(Ext.selection.CheckboxModel, {

    bindComponent: function(view) {
    var me = this;
    me.callOverridden(arguments);
    if (!me.hasLockedHeader() || view.headerCt.lockedCt) {
    me.mon(view.ownerCt.getStore(), 'load', me.deselectHeaderCheckbox, me);
    }
    },


    deselectHeaderCheckbox: function() {
    this.toggleUiHeader(false);
    }
    });


    Regards
    Srinivas Masam

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi