4 Apr 2011 12:23 AM #1
Show/activate the newly added tab won't work
In ext 3.x using the method 'show' after adding a new tab results in that tab being shown/active but it doesn't seem to work in ext4.
Even the demo at http://dev.sencha.com/deploy/ext-4.0.../tabs-adv.html has a show method in its code after adding a new tab but it doesn't seem to work. Any light on this?
4 Apr 2011 11:55 AM #2
The following code worked for me. I use to set active tab with show as well, but had to use this instead.
var tab = Ext.getCmp(tabPanelId);
4 Apr 2011 2:03 PM #3
I've always used the .show() after adding a tab, too.
5 Apr 2011 2:30 AM #4
my current app run on 3.3 and I've been using setActiveTab()
By yrashk in forum Ext:BugsReplies: 0Last Post: 2 Apr 2011, 9:20 AM
By AmitOlsys in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 6 Oct 2008, 9:31 PM
By dee_rocks in forum Ext 1.x: Help & DiscussionReplies: 9Last Post: 10 Sep 2007, 4:08 PM
By dee_rocks in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 8 Sep 2007, 5:33 PM