View Full Version : Can the Accordian collapse/expand direction be changed?
3 Nov 2010, 1:54 AM
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...............:-?
3 Nov 2010, 2:04 AM
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 Nov 2010, 2:12 AM
@ Cndor did u hav any sample code for that :)
3 Nov 2010, 2:14 AM
No, sorry. You're breaking new ground here.
3 Nov 2010, 2:22 AM
Is there a horizontal accordion layout somewhere? I.e. one that expands/collapses left-right instead of up-down?
Seriously, no horizontal accordion? :(
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.