mitchellsimoens/Ext.layout.AccordionLayout — Issue #6: Form Panel can not load
Author: rwegithub
Created: 2012-01-10 08:44:11+00:00
State: open

we are trying to add a form panel as an item of accordion layout.

var step2Form = new Ext.form.FormPanel({
id: 'step2Form11',
title : "Form Test",
standardSubmit : false,
scroll:'vertical',
items: [{
xtype: 'textfield',
label: 'Title',
required: true
}, {
xtype: 'textareafield',
label: 'Narrativecalldetail'
}]
});

var panel = new Ext.Panel({
fullscreen : true,
scroll : "vertical",
layout: {
type: "accordion"
},
items: [
{ xtype : "panel", title : "first", html : "firstelement" },
step2Form,
list
]
});

but can not load the form when expanding. list is loading properly. Thanks a lot.