Form doesn't read data unless activated

  1. #1

    Form doesn't read data unless activated

    Hi, I have a Window with a TabPanel that has 2 inner Panels, on each of the Panels there is a Form, when I open the Window and save the changes anything that is on the second Panel's Form will return null as its value, after switching to the second Panel once the values will read correctly from the DirectMethod, what's the property to make the Panel/Form not being shown to always render on first page load?
    Thanks!
  2. #2
    Quote Originally Posted by paul-2011 View Post
    Hi, I have a Window with a TabPanel that has 2 inner Panels, on each of the Panels there is a Form, when I open the Window and save the changes anything that is on the second Panel's Form will return null as its value, after switching to the second Panel once the values will read correctly from the DirectMethod, what's the property to make the Panel/Form not being shown to always render on first page load?
    Thanks!
    Answer, add this to the TabPanel:

     DeferredRender="False"
  3. #3
    Correct. By default the TabPanel will only render the Components within a Tab once activated.

    http://dev.sencha.com/deploy/ext-3.3...deferredRender
    Geoffrey McGill
    Founder

Similar Threads

  1. Replies: 5
    Last Post: Jun 12, 2012, 6:19 PM
  2. Read data from GridPanel
    By bright in forum 1.x Help
    Replies: 2
    Last Post: Feb 13, 2012, 11:06 AM
  3. Replies: 0
    Last Post: May 11, 2010, 10:35 PM
  4. Form validation doesn't fire
    By caha76 in forum 1.x Help
    Replies: 0
    Last Post: May 04, 2010, 12:15 PM
  5. [CLOSED] Type=Submit on form doesn't work for Numberfields
    By reinout.mechant@imprss.be in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Mar 22, 2009, 4:27 PM

Posting Permissions