1. #1
    Sencha User mrtedweb's Avatar
    Join Date
    Feb 2009
    Posts
    55
    Vote Rating
    0
    Answers
    2
    mrtedweb is on a distinguished road

      0  

    Default Answered: Showing/Hiding a Tab's Close Button

    Answered: Showing/Hiding a Tab's Close Button


    Is there any way to hide/show a tab's closable button after it's been loaded? I'm trying to write an application allowing users to 'pin' their tabs.

  2. This is the trick:

    this.getActiveTab().tab.setClosable(true/false)

    I was not looking at the tab's tab component. Thanks for everyone's help.

  3. #2
    Sencha User mrtedweb's Avatar
    Join Date
    Feb 2009
    Posts
    55
    Vote Rating
    0
    Answers
    2
    mrtedweb is on a distinguished road

      0  

    Default


    This is the trick:

    this.getActiveTab().tab.setClosable(true/false)

    I was not looking at the tab's tab component. Thanks for everyone's help.