1. #1
    Sencha User
    Join Date
    Jan 2008
    Posts
    194
    Vote Rating
    0
    Richie1985 is on a distinguished road

      0  

    Default tab hide instead close

    tab hide instead close


    hi,

    i set closeable = false, but how can i hide the tab?

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,502
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Remove it passing false as the second parameter so that it doesn't get destroyed.

  3. #3
    Sencha User
    Join Date
    Jan 2008
    Posts
    194
    Vote Rating
    0
    Richie1985 is on a distinguished road

      0  

    Default


    sorry i dont know what you mean? how should be the syntax?

    i want a tab with the "close" icon, but i dont want to destroy the tab, only hide

  4. #4
    Sencha User
    Join Date
    Jan 2008
    Posts
    194
    Vote Rating
    0
    Richie1985 is on a distinguished road

      0  

    Default


    i found it:

    autoDestroy: false,

    so easy ^^

Thread Participants: 1