-
11 Aug 2010 2:03 AM #1
[CLOSED] getTabBar().removeAll() does not work
[CLOSED] getTabBar().removeAll() does not work
After executing...
Axx.views.MainScreen = Ext.extend(Ext.TabPanel, {
.....
myfunction: function(){
this.getTabBar().removeAll(false);
this.getTabBar().doLayout();
this.getTabBar().doComponentLayout();
...
}...
The tabs are still visible...
-
11 Aug 2010 2:27 AM #2
Why are you doing this, out of curiousity? If you remove the tab items surely you want the tabs to be removed as well?
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
11 Aug 2010 4:35 AM #3
Well, i have a login panel ... (one tab)... and 3 other panels (3 tabs) which will be added after login is ok... that is working ok.
But now, i have a logout function... so I want to remove my 3 panels (3 tabs) and display my login panel again...
-
11 Aug 2010 9:45 AM #4Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,659
- Vote Rating
- 14
Wouldn't using them on a card layout be better? Also as tabpanel isn't really meant to be empty I don't see this as a bug.
-
11 Aug 2010 12:09 PM #5
Do you mean a card layout where the second card is a TabPanel ?
-
12 Aug 2010 8:57 AM #6Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,659
- Vote Rating
- 14
Sure, if that's your main panel for interaction.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[CLOSED]Grid removeAll() and PagingToolbar refreshing
By markalroberts in forum Ext 3.x: BugsReplies: 9Last Post: 28 Feb 2013, 12:35 AM -
[CLOSED]removeAll from a panel with a table layout
By rspaeth in forum Ext 3.x: BugsReplies: 3Last Post: 28 Jun 2010, 1:07 AM -
Can't get TreePanel removeAll to work
By myExtJsUname in forum Ext 2.x: Help & DiscussionReplies: 10Last Post: 19 Mar 2009, 12:46 PM -
FormPanel.removeAll () doesn't work
By mlc in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 10 Mar 2009, 2:14 AM -
[CLOSED] Blue background after Viewport.removeAll
By zaccret in forum Ext GWT: Bugs (1.x)Replies: 3Last Post: 3 Jun 2008, 7:17 AM


Reply With Quote