View Full Version : When tab closes, child components are not destroyed

31 Aug 2009, 6:59 AM
I have a bunch of tabs, many of which house GridPanels. When I close one of these tabs, the tab itself closes, but child components (included in items in initComponent) linger, making the interface unusable. How are these components able to escape destruction when their tab is closed?

1 Sep 2009, 5:37 AM
It looks like this only happens when rendering static HTML content in a panel. When I replaced this content with PropertyGrids, the problem disappeared.

1 Sep 2009, 5:59 AM
Do these tabs contain HTML to which you rendered some components?

In that case my HtmlLayout (http://extjs.com/forum/showthread.php?t=79191) could help.