Results 1 to 4 of 4

Thread: tabpanel without tabs showing...

  1. #1
    Sencha User
    Join Date
    Feb 2010
    Location
    Figueres (Spain)
    Posts
    370
    Answers
    15
    Vote Rating
    5
      0  

    Default Answered: tabpanel without tabs showing...

    Is it possible to work with tabpanels but without showing the top tab bar ? I mean, i would change between active tabs programatically.

    Manel
    -------------------
    Manel Juarez

  2. Your solution works fine, but i 've found that with extjs 4.1.1 RC2 i can use this in the tabpanel and works better, because i have'nt to put hidden in all tabs.

    Code:
        tabBar: {
            hidden: true
        },
    Quote Originally Posted by tvanzoelen View Post
    add the follwing property to the tab

    Code:
    tabConfig: {
      hidden: true
    }
    Here you can read all the properties for the tabConfig
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.tab.Tab

  3. #2
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,199
    Answers
    87
    Vote Rating
    44
      0  

    Default

    add the follwing property to the tab

    Code:
    tabConfig: {
      hidden: true
    }
    Here you can read all the properties for the tabConfig
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.tab.Tab

  4. #3
    Sencha Premium User
    Join Date
    Feb 2011
    Location
    NJ
    Posts
    337
    Answers
    62
    Vote Rating
    61
      0  

    Default

    The card layout does exactly that. It's basically a tab panel without the tab bar.

    http://docs.sencha.com/ext-js/4-1/#!...container.Card

  5. #4
    Sencha User
    Join Date
    Feb 2010
    Location
    Figueres (Spain)
    Posts
    370
    Answers
    15
    Vote Rating
    5
      0  

    Default

    Your solution works fine, but i 've found that with extjs 4.1.1 RC2 i can use this in the tabpanel and works better, because i have'nt to put hidden in all tabs.

    Code:
        tabBar: {
            hidden: true
        },
    Quote Originally Posted by tvanzoelen View Post
    add the follwing property to the tab

    Code:
    tabConfig: {
      hidden: true
    }
    Here you can read all the properties for the tabConfig
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.tab.Tab
    -------------------
    Manel Juarez

Posting Permissions

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