打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
如何显示两列复选框

 
 
-------------------------------------------------------------------------------------
var _systemform = new Ext.FormPanel({
labelAlign:'left',
labelWidth:100,
buttonAlign:'center',
frame:true,
margins:'10 10 10 10',
width : 480,
height : 270,
title:'新增卡种集团',
id:_this.genId('addform'),
defaults:{width:315},
layout : 'form',
items : [{
xtype:'textfield',
fieldLabel:'卡种集团名称',
name:'cgname',
id:_this.genId('cgname'),
allowBlank:false
},{
fieldLabel:'平台类型',
layout:'column',
items:[
{
columnWidth:.5,
layout:'form',
defaultType:'checkbox',
checkboxToggle:true,
hideLabels:true,
items:[
{
boxLabel:'发卡方类型',
inputValue:1,
id:_this.genId('fkf'),
checked:true,
handler:function(checkbox){
if(checkbox.getValue()){
fkfType=1;
}else if(!checkbox.getValue()){
fkfType=0;
}
}
}
]
},{
columnWidth:.5,
layout:'form',
defaultType:'checkbox',
checkboxToggle:true,
hideLabels:true,
items:[
{
boxLabel:'受理方类型',
id:_this.genId('slf'),
inputValue:1,
checked:false,
handler:function(checkbox){
if(checkbox.getValue()){
slfType=1;
}else if(!checkbox.getValue()){
slfType=0;
};
}
}
]
}
]
},
{
xtype:'textarea',
fieldLabel:'备注',
name:'note',
id:_this.genId('note'),
allowBlank:true
}
],
buttons:[{
text:'查询',
handler:_this.specmerchSave
},
{
text:'重置',
handler:function(){
}
}]
});
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
Ext学习笔记06
Ext2.0教程三:Ext2.0从新建窗口开始
ExtJs中一个完整GridPanel实例(转)
ExtJS实战(6)
10分钟 PySimpleGUI 图形界面入门
发现ExpandableListActivity的onChildClick方法失效
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服