Results 1 to 3 of 3

Thread: Set Active Index on a Panel with Accordion layout

  1. #1
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    162
    Answers
    7

    Default Answered: Set Active Index on a Panel with Accordion layout

    Hello Everyone,
    I have a panel with an accordion layout, but I can't figure out for the life of me how to change the active index. The accordion layout does not have a 'setActiveItem' method like the card layout, so I am at a complete loss of how to do it.

    Any help is greatly appreciated.

  2. Just call expand on the appropriate panel.

  3. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258
    Answers
    759

    Default

    Just call expand on the appropriate panel.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  4. #3
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    162
    Answers
    7

    Default

    That was it !

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
  •