1. #1
    Sencha User
    Join Date
    Oct 2010
    Location
    Bangalore
    Posts
    50
    Vote Rating
    0
    smkkiran is on a distinguished road

      0  

    Exclamation Can the Accordian collapse/expand direction be changed?

    Can the Accordian collapse/expand direction be changed?


    Can the Accordian collapse/expand direction be changed................. means the accordion should be bottom of the panel and while expand it should expand towords top......... it seems simple but while working getting tough...............

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    91
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    That's not going to be easy. Accordion layout uses the expand/collapse animation from Ext.Panel.

    You would need to extend Ext.Panel to allow it to expand/collapse up or down based on a property.
    Next, you would need to extend Ext.layout.Accordion to set the property based on the location of the panel relative to the active item.

  3. #3
    Sencha User
    Join Date
    Oct 2010
    Location
    Bangalore
    Posts
    50
    Vote Rating
    0
    smkkiran is on a distinguished road

      0  

    Default


    @ Cndor did u hav any sample code for that

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    91
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    No, sorry. You're breaking new ground here.

  5. #5
    Sencha User
    Join Date
    Oct 2010
    Location
    Bangalore
    Posts
    50
    Vote Rating
    0
    smkkiran is on a distinguished road

      0  

    Default


    okk..........thanq..

  6. #6
    Sencha User
    Join Date
    Jun 2009
    Location
    New York City
    Posts
    29
    Vote Rating
    0
    agfk is on a distinguished road

      0  

    Default


    Is there a horizontal accordion layout somewhere? I.e. one that expands/collapses left-right instead of up-down?

  7. #7
    Sencha User
    Join Date
    Jun 2009
    Location
    New York City
    Posts
    29
    Vote Rating
    0
    agfk is on a distinguished road

      0  

    Default Horizontal Accordion?

    Horizontal Accordion?


    Bump!

  8. #8
    Sencha User
    Join Date
    Jun 2009
    Location
    New York City
    Posts
    29
    Vote Rating
    0
    agfk is on a distinguished road

      0  

    Default


    Seriously, no horizontal accordion?

Similar Threads

  1. change the direction of collapse/expand ?
    By peng_0_0_1983 in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 3 Nov 2010, 2:15 AM
  2. is it possible to add Buttons next to the expand/collapse icon in an accordian panel?
    By jhudson888 in forum Ext GWT: Help & Discussion (1.x)
    Replies: 5
    Last Post: 8 May 2009, 9:01 AM
  3. TreePanel in Accordian will not collapse
    By xataraxx in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 10 Aug 2008, 8:51 AM
  4. Accordian collapse all
    By Gunmen in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 26 Apr 2008, 1:48 PM
  5. Can the Accordian collapse/expand direction be changed?
    By jmilillo in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 5 Mar 2008, 2:32 PM

Thread Participants: 2

Tags for this Thread