PDA

View Full Version : [SOLVED] how to expand all accordion tabs in one go



Flukey
4 Nov 2009, 7:09 AM
Hi all,

I have a left navigation menu which has some accordion tabs. It looks nice, however, I can't seem to figure out how to expand all the 'accordion' tabs when I refresh the page? (ofcourse it's up to the user if they want to expand or collapse a panel once loaded).

Hope that makes sense.

Thanks very much :-)

Jamie

carol.ext
4 Nov 2009, 7:57 AM
Maybe I am misunderstanding what you are asking. Only one panel in an accordion layout can be expanded at any given time.

From the AccordionLayout API (http://www.extjs.com/deploy/dev/docs/?class=Ext.layout.AccordionLayout)


This is a layout that contains multiple panels in an expandable accordion style such that only one panel can be open at any given time.

Flukey
4 Nov 2009, 8:29 AM
Bugger. I should have noticed that! Thanks very much. :-)