Hybrid View

  1. #1
    Ext User
    Join Date
    Nov 2010
    Posts
    2
    Vote Rating
    0
    davidmath is on a distinguished road

      0  

    Default panel stacking collapsibles items

    panel stacking collapsibles items


    Hi,
    I new to ext and I was wandering if you can do this.

    I have a problem with the extjs file i am trying to create. Main panel is set to region west. This panel has items. First is a treePanel set to region center. As for the other items I would like to set them to center aswell and to stack a bit like an accordion layout. The reason I dont want to use accordion is to use the collapsible behavior instead.

    Is there a way to set multiple items on the same region and make them stack?

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

      0  

    Default


    Configure the region

    Code:
    layout: {
        type: 'vbox',
        align: 'stretch'
    }
    Then the child Panels will be stacked down the region, each one stretched to full width. Configure each child Panel with collapsible: true

  3. #3
    Ext User
    Join Date
    Nov 2010
    Posts
    2
    Vote Rating
    0
    davidmath is on a distinguished road

      0  

    Default


    thank you, this worked!

Similar Threads

  1. collapsibles in a vbox
    By lsaffre in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 16 Sep 2010, 11:44 AM
  2. Carousel content stacking wrong
    By DaveC426913 in forum Sencha Touch 1.x: Discussion
    Replies: 7
    Last Post: 30 Aug 2010, 9:19 AM
  3. Tab flipping divs are stacking but hidden
    By scoobasteve1982 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 18 Nov 2008, 8:19 AM

Thread Participants: 1

Tags for this Thread