52,797
社区成员
发帖
与我相关
我的任务
分享
new Ext.FormPanel({
id:'myForm',
url:'ajax.php', //这里连接后台去代用数据
defaultType: 'checkbox',
baseParams:{
routine:'getInfo' //这里就是baseParms
},
items:[{ //下面是checkbox items
fieldLabel: 'Checks',
boxLabel: 'Check 1',
name: 'chk-1'
},{
fieldLabel: '',
labelSeparator: '',
boxLabel: 'Check 2',
name: 'chk-2'
}]
});