PDA

View Full Version : ViewPort, open panel dinamically



luca.santaniello
9 Jul 2010, 2:54 AM
Hi all,

I created my view port (layout: 'border') that contains many panel. I want open dinamically my panel! Is it possible?
My east Region using accordation layout. I want open specific panel!

Thanks

Condor
10 Jul 2010, 12:02 AM
Do you know the correct panel when creating the layout or only after that?

If you create all panels in accordion layout (execpt one) with collapsed:true the remaining panel will be expanded.

If the accordion layout is already created you can use:

accordionPanel.layout.setActiveItem(panel);