Results 1 to 2 of 2

Thread: Accordion layout add and expand new child

  1. #1
    Sencha User
    Join Date
    Apr 2014

    Default Accordion layout add and expand new child

    Hey together,

    I have a accordion layout. I add children dynamic.

    The last added child should be expanded, but I am not able to get it right.

    If I add the child and then call child.expand(); the layouts breaks so the collapsed panels are shorter then the expanded and the layout is not using the full space.

    I also tried to create the child with the option expanded: true and collapsed: false but it is still collapsed.

    Is there something like in the TabPanel to set an activeChild?

    If i expand the children by clicking the tool or header it works fine!

  2. #2
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014


    Hi LizMyself,

    Can you provide an example fiddle ( we can help diagnose or replicate?


Similar Threads

  1. Replies: 2
    Last Post: 23 Oct 2014, 10:40 PM
  2. Still can't view second child of accordion layout
    By batman3000 in forum Sencha Architect 2.x: Bugs
    Replies: 1
    Last Post: 5 Mar 2013, 11:13 AM
  3. block expand panel with accordion layout
    By nicolabaldo in forum Ext: Discussion
    Replies: 2
    Last Post: 21 Jun 2012, 4:03 AM
  4. Replies: 0
    Last Post: 4 May 2011, 10:38 AM
  5. Layout Help: As child items get larger, expand parent?
    By orinacko in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 7 Oct 2010, 9:39 AM

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