1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    21
    Vote Rating
    0
    Supriya Kale is on a distinguished road

      0  

    Default Unanswered: Getting value of label using foem.findField() method

    Unanswered: Getting value of label using foem.findField() method


    Hi,

    I am using a label in a form. I want to set the value of the label dynamically. I tried using form.findField('labelName'). But it doesn't seem to work. What is the correct way to retrieve the value of the label present in the form? Using Ext.getCmp('labelId'), we can achieve this, but I wanted to use something like form.findField('labelName'). Also I observed using firebug but my form didn't show the label in the _fields property. Can there be a way to achieve this?

    Thanks

  2. #2
    Sencha User
    Join Date
    May 2012
    Location
    Colombia
    Posts
    46
    Answers
    2
    Vote Rating
    4
    alexesc is on a distinguished road

      0  

    Default


    Code:
            fldset = form.getItems().items[1];
            myfield = fldset.innerItems[0]; 
             myfield.setLabel('anything');

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