PDA

View Full Version : How to render a tab on a TabPanel with deferredRender:true



NASGroup
20 May 2010, 10:10 AM
Hey all,

I have a TabPanel with multiple tabs with many forms and fields.

From a initialization perspective it would be nice to have the TabPanel set to defer rendering, but when a submit button is invoked, I need to be able to get all the fields/value from the various tabs even those tabs that have not been visited.

Setting the deferredRender to false works as the DOM contains the form fields, but I've been trying to figure out how to have the deferredRender set to true, and still be able to get the fields values when collecting the data for submission.

thanks...

completej
21 May 2010, 8:39 AM
These two threads are discussing what I think is your issue. I'm also struggling with this issue, and I'm looking for something like an activated, multi-tab renderer to ensure the form fields are rendered, validated, and popped when an error occurs.

edit: i know this isn't me really helping you, but i'd like to pool some thoughts together on the issue (sorry :/ )

http://www.extjs.com/forum/showthread.php?82354-Get-invalid-fields-from-tabbed-form

http://www.extjs.com/forum/showthread.php?97942-How-to-mark-invalid-a-non-rendered-field

I simply cannot use deferredRender: false due to the form size, complexity, and ensuing performance issues on load.