1. #1
    Sencha User castitas's Avatar
    Join Date
    Sep 2011
    Location
    US
    Posts
    116
    Answers
    3
    Vote Rating
    2
    castitas is on a distinguished road

      0  

    Default Unanswered: Working with toggleGroup

    Unanswered: Working with toggleGroup


    Is there any way to get which button is pressed in a toggle group without iterating over all of them? It's not an object, so I don't think there is...
    word

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,895
    Answers
    368
    Vote Rating
    176
    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


    Feeling daring?
    You can use the private method getPressed() from the private singleton class: Ext.button.Manager by passing the toggleGroup string to it.

    Feeling less daring and not wanting to use private methods of private classes?
    *Borrowing from getPressed()...

    Code:
    var group = Ext.ComponentQuery.query('[toggleGroup="The-Toggle-Group"]');
    
    Ext.each(group, function (btn) {
        if (btn.pressed === true) { return btn; }
    });
    
    return null;

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