主要是需要定义一个xtype 类型为"panel"的载体,很重要!
{
columnWidth : .50,
xtype : "panel",
layout : "column",// 也可以是table,实现多列布局
//fieldLabel : '爱好',
isFormField : true,// 非常重要,否则panel默认不显示fieldLabel
items : [{
xtype : "checkbox",
columnWidth : .33,
boxLabel : "是否车队",
name : "isTeam",
id : "isTeam",
inputValue : "isTeam"
}, {
xtype : "checkbox",
columnWidth : .34,
// anchor : '97%',
boxLabel : "是否专线",
name : "isGreenLine",
id : "isGreenLine",
inputValue : "isGreenLine"
}, {
xtype : "checkbox",
columnWidth : .33,
boxLabel : "是否验证",
name : "isChecked",
id : "isChecked",
inputValue : "isChecked"
}]
}
责任编辑:cyth