View Full Version : How to make all panel closed initially in Accordian layout

10 Feb 2010, 5:57 PM
Hi, I have a panel with AccordianLayout and populated a few panels there. When the page is loaded in browser, the first item is always opened. How can I have all accordian items closed initially? Thanks!

12 Feb 2010, 9:45 AM
I found it. Just do panel.collapse() when adding it to the container.