View Full Version : Can i display a tab again after close it?
I have serval tabs in a borderLayout window. These tabs can be closed to save tab space. Some times i want to display an already closed tab. Can these be done? With yui-ext.0.33-beta4, getElementById() return null, so it seems not possible.
Any suggestion?
Thanks for your help!
tryanDLS
4 Dec 2006, 3:48 PM
1st, I'd suggest you get the RC3 codebase, so you don't fight bugs that may have been fixed.
I haven't tried this, but it looks like the closeClicked function does a remove of the panel. You could override this to do a hidePanel instead, and then do a showPanel to bring it back. There's also an unHidePanel - it looks like show does a setActivePanel and unHidePanel does not - you may have to experiment with those.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.