PDA

View Full Version : Can I hide a tab from the designer?



csext5
27 Jul 2010, 6:15 PM
I have a tab that I don't want users to see it yet as it's not ready. Is there a way to hide it?

jarrednicholls
29 Jul 2010, 4:58 AM
I think this post may help you: http://www.sencha.com/forum/showthread.php?105122-How-do-you-hide-a-tab&highlight=hide+tab

csext5
4 Aug 2010, 5:58 PM
thanks. look like i cannot get away without code

jarrednicholls
4 Aug 2010, 7:56 PM
Alas, no. But you could add/remove the tab component from the tab panel rather than just hiding the tab itself. It's less efficient to add/remove because you have to call doLayout() as oppose to simply hiding a single DOM element...but it is an option nevertheless.