1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    48
    Vote Rating
    0
    eaglefox12 is on a distinguished road

      0  

    Default Answered: How to check if checkboxgroup is checked or not

    Answered: How to check if checkboxgroup is checked or not


    I am trying to check if atleast one of the checkbox is checked. How can I do this. Please help.
    Code:
    this.myCheckBox = Ext.create('Ext.form.CheckboxGroup', {
                id: 'cbs',
                scope: this,
                disabled: true,
                columns: 1,
                vertical: true,
                listeneres: {
                       scope: this,
                       change: function (oldValue, newValue) {
                         alert(this.checked());
                         //alert(this.isChecked());
                      }
                }
            });
            this.myCheckBox.add({ boxLabel: 'Q1', name: 'Q1', inputValue: true, uncheckedValue: false });
            this.myCheckBox.add({ boxLabel: 'Q2', name: 'Q2', inputValue: true, uncheckedValue: false });

  2. See if checkboxgroup's getChecked() method is what you're looking for.

  3. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,913
    Answers
    371
    Vote Rating
    179
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    See if checkboxgroup's getChecked() method is what you're looking for.

  4. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    48
    Vote Rating
    0
    eaglefox12 is on a distinguished road

      0  

    Default


    Thank you soooooooooo much

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..." hd porno faketaxi