PDA

View Full Version : Accordion help



seclar
18 Apr 2011, 4:03 AM
I have some strange behaviour with an accordion panel. It's more easily shown than explained, so, given this configuration:


me.panels.nav = new Ext.Panel({
title: "Repository"
,region: "west"
,layout: 'accordion'
,split: true
,width: 250
,minSize: 250
,collapsible: true
,animCollapse: false
,layoutConfig: {titleCollapse: false, hideCollapseTool: false, animate: false}
, items: [{
title: 'Panel 1',
html: '<p>Panel content!</p>'
},{
title: 'Panel 2',
html: '<p>Panel content!</p>'
},{
title: 'Panel 3',
html: '<p>Panel content!</p>'
}]
});

I get this on load:

http://www.spod.org/~davet/extjs/accordion/1.png

then if I click on 'Panel 2' then I get

http://www.spod.org/~davet/extjs/accordion/2.png

I can't see Panel 3 at all. I guess I've configured something incorrectly - any idea what?

This is ext-3.3.1.

Thanks,

seclar
18 Apr 2011, 4:31 AM
Oh, hmm. It works properly if I drop back to ext-2.2.