1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    67
    Vote Rating
    0
    santoshsatav is on a distinguished road

      0  

    Question select deselect checkbox in grid column header

    select deselect checkbox in grid column header


    it sound like a common problem , so forgive me but i am not able to solve this problem
    i have grid whos first column is checkbox colum having check box in header to select all rows,so what i want is to sync header checkbox with row checkboxes , i want to deselect header checkbox when on of row in grid deselected !

    thank you.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    87
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    You can change the header checkbox of a CheckboxSelectionModel by using:
    Code:
    var setHeaderCheckbox: function(checked){
        grid.getView().mainHd.child('.x-grid3-hd-checker')[checked ? 'addClass' : 'removeClass']('x-grid3-hd-checker-on');
    };

Similar Threads

  1. Show a 'select all' checkbox in a column header
    By omermx in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 20 Apr 2012, 7:23 PM
  2. CheckboxSelectionModel deselect column header checkbox
    By ttbgwt in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 2 Sep 2009, 12:46 PM
  3. Checkbox selection model "select/deselect all" header not working
    By scoomey in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 24 Feb 2009, 10:55 PM

Thread Participants: 1

Tags for this Thread

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..."