1. #1
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    79
    Vote Rating
    0
    stoertebeker is on a distinguished road

      0  

    Default Properties for Ext.form.Panel

    Properties for Ext.form.Panel


    Hi,
    i am currently exploring the new Designer and am a bit confused when I compare the properties and the documentation for ExtJS 4.0 and also look at related examples. Let me give you some examples:

    ExtJS4.0:
    Code:
     buttons:[{
            text:'Reset',        handler:function(){this.up('form').getForm().reset();} },{...
    now when I look at the properties in Sencha Designer (is the same in Ext.Designer) i cannot find such a property. Same applies to bbar, fbar or tbar.

    Sencha Designer:
    Here we have properties like: standardsubmit or method. But nothing in the ExtJS4.0 docu.

    So am i missing something or do i have general misunderstanding of the relationship?

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
    bharatn is on a distinguished road

      0  

    Default


    Regarding form properties such as standardSubmit, method, api, timeout...
    those are configs of http://docs.sencha.com/ext-js/4-0/#!/api/Ext.form.Basic

    See notes at
    http://docs.sencha.com/ext-js/4-0/#!/api/Ext.form.Panel
    Where it says
    Although not listed as configuration options of FormPanel, the FormPanel class accepts all of the config options supported by the Ext.form.Basic class, and will pass them along to the internal BasicForm when it is created

    Regarding fbar, tbar, buttons... those are configs that take component references and Designer doesnt support configs with reference values. But it does provide ways to add toolbars, buttons from the toolbox so you can achieve the same functionality.
    Bharat Nagwani
    Sencha Designer Development Team

Thread Participants: 1