How do I programmatically hide Tab in the TabPanel (ExtJS 3)
问题 This my TabPanel code: inside the code there is two tabs (tab1 and tab2) in the TabPanel (tabs_panel) MyTabPanelUi = Ext.extend(Ext.TabPanel, { activeTab: 0, height: 210, resizeTabs: true, tabWidth: 266, id: 'tabs_panel', initComponent: function () { this.items = [{ xtype: 'panel', title: 'Project', padding: 20, height: 150, id: 'tab1' }, { xtype: 'panel', title: 'Service', height: 150, padding: 20, id: 'tab2' }] } }); I'm trying to hide tab2 using bellow code but this bellow code var