设为首页 加入收藏

TOP

如何实现Ext的checkBox的横排效果
2014-11-14 21:45:36 来源: 作者: 【 】 浏览:18
Tags:如何 实现 Ext checkBox 横排 效果

  主要是需要定义一个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的CORBA技术复杂应用范例 下一篇JAVA物理路径上传附件功能

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: