如何实现Ext的checkBox的横排效果计算机等级考试
文章作者 100test 发表时间 2010:01:01 12:31:50
来源 100Test.Com百考试题网
主要是需要定义一个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"
}]
}
编辑特别推荐:
总结Java标准类库中类型相互转化的方法
实例讲解main()中方法调用的问题
一个Java小球撞击墙面的小程序