Oct 22, 2013, 9:10 AM
[CLOSED] Find Tab object in Tab Panel
Hi,
How to find the tab object in tabpanel?
Eariler i have used the following code. Here "tabId" is Tab2.
How to find the tab object in tabpanel?
Eariler i have used the following code. Here "tabId" is Tab2.
function GetActiveTabExtObj(tabId) {
var tpPortal = Ext.getCmp('tpPortal');
var activeTabId = tpPortal.getActiveTab().id;
subTab = document.getElementById(activeTabId + '_IFrame').contentWindow.Ext.getCmp(tabId);
return subTab;
}
Last edited by Daniil; Oct 25, 2013 at 3:16 PM.
Reason: [CLOSED]