Results 1 to 3 of 3

Thread: ext 4 dynamically change tab order on tab panel

  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    29
    Vote Rating
    1
      0  

    Default 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
      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
      0  

    Default Could you show examp

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •