Form problem
you missed (,) on
var person = new Ext.form.FormPanel({
frame: true,
id: 'person-data-form',
layout: 'column',
items: [{
xtype: 'fieldset',
title:'Person details',
defaults: {width: 150}, // Default config options for child items
defaultType: 'textfield',
border: false,
style: {
"margin-left": "10px",
height: Ext.isIE ? '12em' : 'auto'
},
items: [{
fieldLabel: 'Last Name',
name: 'surName'
},{
fieldLabel: 'First Name',
name: 'firstName'
},{
fieldLabel: 'Title',
name: 'title'
}]
}], // you missed it
renderTo: 'detailDiv'
});
Thank you!
#If you have any other info about this subject , Please add it free.# |