Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    jzo
    jzo is offline
    New Coder
    Join Date
    Oct 2011
    Location
    Boston
    Posts
    72
    Thanks
    4
    Thanked 5 Times in 5 Posts

    EXTJS - Manipulating Form Items From Controller

    Code:
    onFormPrefSelect: function (combo, recs, eOpts) {
    var frm = combo.up("form").getForm();
     if (recs === "Ajax"){
    frm.getCmp('URL').show();
    }
    },
    im new to ext.js this is the function id like to use, i really just need to know how to change the components hidden parameter to false in order to show the item after a certain selection has been made from a combobox.

  • #2
    jzo
    jzo is offline
    New Coder
    Join Date
    Oct 2011
    Location
    Boston
    Posts
    72
    Thanks
    4
    Thanked 5 Times in 5 Posts
    i figured it out with a little more research in the documentation.

    create a container var and a fields to add var, enter fields as you would in the views and use the .add function to add the fields


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •