About EXTjs4.1 tab close and open problems

The page layout is, left: treePanel menu bar; intermediate: tabPanel, embedded in the tabPanel chart graphics.
Now have a problem: when I close a tab node, click again in treePanel tab when the middle again displayed, and even tab could not display the page all have no.
Error: extall.js,
Uncaught TypeError: Cannot read property 'addCls' of null

The following tabPanel code fragment:
  var landInfoTab= MainPanel.add({
                    layout: 'fit',

Please prawns help have a look, I personally think that is the parameter or not control when remove Tab.
But I don't know my position is correct, and that if I positioned correctly, do not know how to write this control code. . .
Thanks a million.

Started by Wesley at November 13, 2016 - 12:49 PM

The reply to 2012-09-14 10:47:07 was a moderator to delete

Posted by Frances at November 18, 2016 - 12:54 PM

Close tab when to release, otherwise the resource is still.

Posted by Leopold at November 20, 2016 - 1:00 PM

I also met, how do ah ah ah

Posted by Pamela at November 30, 2016 - 1:11 PM

closable:true, This property leads to the closed when call hide () method
Closable:true you look at the API actually he just hides still exists
I usually like the window setting its autoShow:true. Need to display to create Ext.widget (""). Don't just close
May this way also is not very good and I am also a beginner to expert advice

Posted by Gino at December 13, 2016 - 1:30 PM

The new extjs tab panel to display in the first place? ? ?

Posted by Kirk at December 21, 2016 - 1:38 PM


Posted by Kirk at January 04, 2017 - 1:42 PM

When remove Tab, to ensure full removed, otherwise, there is residual, of course, not fully displayed.
Another way is hidden, click again, again showing good.
Two methods have their advantages and disadvantages, the first not occupy memory resources, but the impact of efficiency, the second will occupy memory resources, but the efficiency high.

Posted by Betty at January 07, 2017 - 2:43 PM

Location is right, TabPanel objects are not destroyed, and shut down object to be destroyed, if you are a add.
Proposal to open the page when the show, not add

Posted by Clifford at January 10, 2017 - 2:17 PM

The response to 2012-12-10 08:56:10 was removed by the administrator

Posted by Ternence at January 13, 2017 - 2:34 PM

Landlord, then you solve the problem without?
To solve it, the exchange

Posted by Stephen at January 13, 2017 - 2:39 PM