Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User kostysh's Avatar
    Join Date
    Nov 2011
    Location
    Odessa, Ukraine
    Posts
    171
    Vote Rating
    19
    kostysh will become famous soon enough kostysh will become famous soon enough

      0  

    Default Howto setup title of fieldset from record

    Howto setup title of fieldset from record


    Hi,
    I have a Ext.form.Panel with 'fieldset' item inside. I need setup 'title' of this 'fieldset' from panel data record.
    Fields inside 'fieldset' setted automaticaly (by name template), but I dont know how to setup 'title' in same way.

  2. #2
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,394
    Vote Rating
    22
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    Hi kostysh.
    Unfortunately there is no way to set a fieldset title in the same wy of loading the form fields by the "setRecord" function.
    However, you can achieve that as follow:
    Suppose you have a "title" field in your record which should be set as the Title of your fieldset.
    At this point you should only get your field set component inside your form and set its title using the "title" record value.

    Code:
    myForm.getComponent('myFieldset').setTitle(record.get('title'));
    Hope this helps.
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    CEO at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    http://www.tux-components.com/


  3. #3
    Sencha User kostysh's Avatar
    Join Date
    Nov 2011
    Location
    Odessa, Ukraine
    Posts
    171
    Vote Rating
    19
    kostysh will become famous soon enough kostysh will become famous soon enough

      0  

    Default


    Thanks, it works!

Thread Participants: 1