Answered: Extending a Ext.tab.Panel disables the tab switching
Answered: Extending a Ext.tab.Panel disables the tab switching
Here is one thing which i noticed, when I create a custom Tab Panel by Ext.define() and then extending the Ext.tab.Panel, the "activeitemchange" event is fired only once (i.e when the component renders for the first time).
After my custom tab panel is painted and I tap on the other tabs, the tabs do NOT switch. The contents of the first tab is shown throughout, no matter which ever tab I switch to.
One thing to note, I m using touch-charts in my app, hence using the sencha-touch-debug.js from the touch charts package only.(Don't know how this will affect).
You are overriding framework behavior. If the initialize method is empty then you should just remove it. If you are doing something in it then you need to execute this.callParent();
When we overwrite the "initialize" function of the extended tab panel( can keep is blank also, but overwriting is imp), the active tab does not change. Why is this so?
When we overwrite the "initialize" function of the extended tab panel( can keep is blank also, but overwriting is imp), the active tab does not change. Why is this so?
<br><br>Any updates/clarifications on this? <img src="images/smilies/1.gif" border="0" alt="" title="Smile" smilieid="74" class="inlineimg">
You are overriding framework behavior. If the initialize method is empty then you should just remove it. If you are doing something in it then you need to execute this.callParent();