View Full Version : tabpanel setActivePanel(n) does not fire tabchange for activeTab = n setting in view

25 Feb 2015, 11:55 AM
The .setActiveTab(n) function does not fire a tabchange event for the tab which equals

activeTab: n

in the Ext.tab.Panel view.

All other tabs work as documented and so the tabchange gets fired.

I've solved this by setting activeTab: -1 in the view config, which lets all the tabs fire.

I'm using ext-

Could this be a bug?

I don't think I had this problem with earlier ext versions.

26 Feb 2015, 8:41 PM
Never-mind, I wrote my own custom eventhandler for this, giving perfect reliable results.
This also reduced the amount of code needed (and reduced the complexity as well).