Oct 13, 2011, 9:28 AM
How to stop tabChange event of a tabstrip after changing its activeTabIndex in Javascript ??
I'm able to change ActiveTabIndex of Tabstrip but the problem is tabChange event is firing again. How to stop the this event ??
Hi,
Below is the code for changing tha activetabindex of tabstrip. It s working fine.
After changing the activetabindex property of the tab, I want to stop firing tabChange event. How can i do that?
I tried with below line but no result.
1 Ext.EventObject.stopEvent();
Plzz provide me a solution asap.
Thanks in advance,
Santhosh
Hi,
Below is the code for changing tha activetabindex of tabstrip. It s working fine.
function test(){
var tabstrip = Ext.getCmp('tsParentModules')
tabstrip.setActiveTab(-1);
}
But the problem now is, because of changing the Activetabindex of the tab, its tabChange event is firing again and loading the respective page.After changing the activetabindex property of the tab, I want to stop firing tabChange event. How can i do that?
I tried with below line but no result.
1 Ext.EventObject.stopEvent();
Plzz provide me a solution asap.
Thanks in advance,
Santhosh