2013-02-28 09:09题主

如何激活tabpanel指定tab

2013-02-28 09:41#1
tabPanel.setActiveTab(panel);
tabPanel.setActiveTab(index);
tabPanel.setActiveTab('panelId');

Makes the given card active. Makes it the visible card in the TabPanel's CardLayout and highlights the Tab.

Parameters

Returns

  • Ext.Component

    The resulting active child Component. The call may have been vetoed, or otherwise modified by an event listener.

2013-02-28 19:38#2
mark一下,学习

返回开发者社区