1. #1
    Sencha User bkraut's Avatar
    Join Date
    Nov 2007
    Location
    Maribor, Slovenia
    Posts
    402
    Vote Rating
    1
    bkraut is on a distinguished road

      0  

    Default XType form values

    XType form values


    Hi,

    I'm wandering if is it possible to use xtype and load record into the form, like maybe with loadRecord or setValues?

    How to do that?

    Best regards,
    Bojan

  2. #2
    Sencha User bkraut's Avatar
    Join Date
    Nov 2007
    Location
    Maribor, Slovenia
    Posts
    402
    Vote Rating
    1
    bkraut is on a distinguished road

      0  

    Default


    If a form is defined via xtype, how can I load the object values?

    Example:
    PHP Code:
    form.getForm().loadRecord(object); 
    but form is included like:

    PHP Code:
    {
    xtype'form'

    How to find a form. Via Ext.find or how?

    Best regards,
    Bojan

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    There's no difference. The object defined by that will be a FormPanel, and will have child items.

Thread Participants: 1