Если ваша панель вкладок имеет идентификатор, а компоненты имеют идентификатор или идентификатор элемента, вы можете сделать следующее: Ext.getCmp ('TAB_PANEL_ID'). GetComponent ('ITEM_ID'). Tab.hide ()
Например,
var tabPanel = Ext.create("Ext.tab.Panel", {
id: 'TAB_PANEL_ID',
renderTo: Ext.getBody(),
items:[{
title: 'Tab 1',
itemId: 'TAB_1',
html: 'This is the first tab'
},{
title: 'Tab 2',
itemId: 'TAB_2',
html: 'This is the second tab'
},{
title: 'Tab 3',
itemId: 'TAB_3',
html: 'This is the third tab'
}]
});
// You may want to add following in function body or inside event handler.
// Hide the second tab:
Ext.getCmp('TAB_PANEL_ID').getComponent('TAB_2').tab.hide();
// Show the second tab:
Ext.getCmp('TAB_PANEL_ID').getComponent('TAB_2').tab.show();