PDA

View Full Version : Tab Panel deferredRender not working



pajamabob
13 May 2010, 12:04 PM
I recently started moving a project from 3.0 to 3.2. With 3.0 content of my tabs was not rendered until the tab was activated. This was perfect, allowing ne to set variables that the content on the tabs could access. With 3.2 the content of the tabs is being rendered no matter what I do, this causes two problems:
1. The content on hidden tabs throws errors because the required values are not set
2. If I navigate to the third or fourth tab without first clicking previous tabs, the content for all previous tabs is displayed stacked over one another.
Any idea how I can fix this?
:((

pajamabob
13 May 2010, 1:34 PM
I found the problem using the debug version of ext-all.js. The very first instance of deferredRender (line 12393) sets the default to “false”. I assume that the user configuration value for this is not being passed to the layout manager. Changing this default value to “true” (as indicated it should be in the documentation) fixes all of my woes.

Please pass along to the development team.