我想在tabPanel中放置一个表单。我这样做:
形式:
var zem = new Ext.FormPanel({
title: 'Общие сведения',
bodyStyle:'padding:5px 5px 0',
items: [{
xtype:'textfield',
fieldLabel: 'Местоположение',
name: 'address',
anchor:'80%'
},{
layout:'column',
items:[{
columnWidth:.5,
layout: 'form',
items: [{
xtype:'textfield',
fieldLabel: 'Кадастровый номер',
name: 'cadastr',
anchor:'80%'
}]
},{
columnWidth:.5,
layout: 'form',
items: []
}]
}]
});
面板:
var tabs = new Ext.TabPanel({
xtype:'tabpanel',
activeTab: 0,
autoScroll: false,
layoutOnTabChange: true,
items: [zem]
});
我明白了:
我得到一个空标签。我做错了什么?