1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    29
    Vote Rating
    1
    stevevai is on a distinguished road

      0  

    Default ext 4 dynamically change tab order on tab panel

    ext 4 dynamically change tab order on tab panel


    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?



    Thank you

    Steve

  2. #2
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    Virginia, USA
    Posts
    220
    Vote Rating
    0
    dfenwick will become famous soon enough

      0  

    Default


    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.

  3. #3
    Sencha User
    Join Date
    May 2010
    Posts
    29
    Vote Rating
    1
    stevevai is on a distinguished road

      0  

    Default Could you show examp

    Could you show examp


    Ext getcmp().insert(title: , tabIndex:4, ....)?

Thread Participants: 1

Tags for this Thread