Skip to content Skip to sidebar Skip to footer

Behaviour Of Autodestroy: False In Extjs4

How does autoDestroy:false actually works in Ext-Js 4. I am intending to close the tab and then recreate it on click of button, See the code here:

Solution 1:

After the close, the tickets tab is removed from the tab panel. Thus when you look for it using tabs.child('#tickets') you get null back. On the next line you are effectively calling null.tab hence the error. You'll need to keep track of the panel before it closes and then use tabs.add to bring it back.


Post a Comment for "Behaviour Of Autodestroy: False In Extjs4"