我在右側有摺疊按鈕的手風琴佈局(這是默認行爲)。如何將摺疊按鈕位置更改爲左側?Extjs Accordion Header - 將摺疊按鈕移動到標題標題左側
Ext.create('Ext.panel.Panel', {
title: 'Accordion Layout',
layout: {
// layout-specific configs go here
type: 'accordion',
titleCollapse: false,
animate: true,
activeOnTop: true
},
items: [{
title: 'Panel 1',
html: 'Panel content!',
},{
title: 'Panel 2',
html: 'Panel content!'
},{
title: 'Panel 3',
html: 'Panel content!'
}],
renderTo: Ext.getBody()
});
Please help me out.
Your help is appreciated!! Thanks in advance.
您可以使用collapseFirst配置這一點。 –