Hi. I'm using the an accordion layout in a panel. I would like disable both the title collapse and the collapse tool and control the functionality from a button within the child components. Basically perform a validation of a form once the button is clicked and then expand the next item. Can this be accomplished? TIA
Code:
extend: 'Ext.panel.Panel',
renderTo: 'cart-table',
height: 350,
layout: {
type: 'accordion',
hideCollapseTool: true,
titleCollapse: false,
animate: true
},
items:[{
title: 'Test',
xtype: 'form',
defaultType: 'textfield' ...
},{
title: 'Test1',
xtype: 'form',
defaultType: 'textfield' ...
}]...