4 Dec 2006 3:32 PM #1
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.
Thanks for your help!
4 Dec 2006 3:48 PM #2
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.
By mouglas in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 20 Feb 2007, 10:46 AM
By punitshah in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 25 Jan 2007, 12:10 AM
By griffiti93 in forum Community DiscussionReplies: 5Last Post: 22 Nov 2006, 12:09 AM
By KuN in forum Ext 1.x: Help & DiscussionReplies: 8Last Post: 30 Oct 2006, 12:01 PM