1. #1
    Sencha User nadeemshafi9's Avatar
    Join Date
    Mar 2009
    Location
    Bucks, Hearts - UK
    Posts
    192
    Vote Rating
    1
    nadeemshafi9 is on a distinguished road

      0  

    Default tick all checkboxes in a gridPanel in a formPanel

    tick all checkboxes in a gridPanel in a formPanel


    hello guys,

    I have a gridpanel inside a formpanel inside a window.

    I have a button and a listener set up to tick teh bixes, but i cant seem to get the checkbox element.

    Its enumerated so its like checks[0] checks[1] checks[40] checks[50] in the name field of the input.

    I tried

    Code:
    click: function() {
                                                                                    Ext.each(Ext.getCmp('updateUserGroupsFormPanel').getForm().findField('checks'), function(){
                                                                                        alert('dd');
                                                                                    });
                                                                                    alert('dd');
                                                                                }
    i tried
    Ext.getCmp('updateUserGroupsFormPanel').getForm().findField('checks')

    in firebug it dosent get the checkboxes

    i also tried findField('checks[]')


    this works Ext.getCmp('updateUserGroupsFormPanel').getForm().getEl('checkbox')
    Dosent work,


    Thanks

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Keep in mind: in the grid panel, it's different because you have to update the store.

  3. #3
    Sencha User nadeemshafi9's Avatar
    Join Date
    Mar 2009
    Location
    Bucks, Hearts - UK
    Posts
    192
    Vote Rating
    1
    nadeemshafi9 is on a distinguished road

      0  

    Default


    Quote Originally Posted by jgarcia@tdg-i.com View Post
    Keep in mind: in the grid panel, it's different because you have to update the store.
    your right actualy thats a good idea, my checks come out with the store in the json so yeh maybe thats a good idea lol


    SOOOOOOOOOOOOO simple

Thread Participants: 1

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