1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    46
    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,770
    Answers
    355
    Vote Rating
    165
    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
    46
    Vote Rating
    0
    eaglefox12 is on a distinguished road

      0  

    Default


    Thank you soooooooooo much

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar