set activeindex in card layout

  1. #1

    set activeindex in card layout

    hi,
    it's possible set activeindex from javascript ?

    ragard's
  2. #2

    RE: set activeindex in card layout

    Hi,

    Yes, you can call the .setActiveItem function of the layout and pass the index, or id of the card/panel you wish to become active.


    Example


    Panel1.layout.setActiveItem(1);

    More information available at...


    http://www.sencha.com/deploy/dev/doc...=setActiveItem


    Hope this helps.


    Geoffrey McGill
    Founder
  3. #3

    RE: set activeindex in card layout

    tank's :)

    I found the solution in the ExtJS forums

    :))

Similar Threads

  1. Extending a Panel (layout=card)
    By phinoppix in forum 1.x Help
    Replies: 3
    Last Post: Jun 03, 2011, 10:54 AM
  2. [CLOSED] [1.0] TreeGrid AutoExpandColumn on a card layout
    By wazige in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: May 27, 2010, 4:58 AM
  3. [CLOSED] Card Layout issue
    By ashton.lamont in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Mar 01, 2010, 4:43 PM
  4. [CLOSED] Panel with Layout="Card" in v 1.0
    By egodoy in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 04, 2010, 12:29 PM
  5. card layout height
    By [WP]joju in forum 1.x Help
    Replies: 1
    Last Post: Nov 04, 2009, 4:11 AM

Posting Permissions