+ Reply to Thread
if i have a tabpanel with tabs 1,2 and 3 visible; now I want to dynamically add a tab and have it positioned between tab 2 and 3, so that the tab order would be 1,2,4,3. rather than at the end of the tabset, which is the default behavior.
How is this accomplished?
Use the insert method rather than the add method on the tab panel. That will allow you to select which index to insert it at a specific index.
Ext getcmp().insert(title: , tabIndex:4, ....)?
View Tag Cloud