1. #1
    Sencha Premium Member
    Join Date
    Aug 2012
    Location
    California
    Posts
    29
    Vote Rating
    1
    thejonz is on a distinguished road

      0  

    Default Adding fields to a FieldSet dynamically using Sencha Touch Architect

    Adding fields to a FieldSet dynamically using Sencha Touch Architect


    Does anyone have an example of how to add one or more fields dynamically to an existing FieldSet using Sencha Touch Architect? I've tried many different things and have searched for an example but haven't been able to figure out a way to do this.

    thanks!

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,188
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    A fieldset is a standard container and has an add method.

    You can add an instance of a textfield (or other formfield). You can also add a JS object with an xtype that indicates what type to create.

    Eg
    Code:
    this.add(myFormField);
    // or
    this.add({
       xtype: 'textfield'
       // configs...
    });
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha Premium Member
    Join Date
    Aug 2012
    Location
    California
    Posts
    29
    Vote Rating
    1
    thejonz is on a distinguished road

      0  

    Default Thanks!

    Thanks!


    Excellent, I'll give it a try, thanks!

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