fieldset 多列显示 extjs
来源:互联网 发布:小蜜书房产软件 编辑:程序博客网 时间:2024/05/16 01:22
Ext.onReady(function(){
Ext.QuickTips.init();
Ext.form.Field.prototype.msgTarget = 'side';
simple = new Ext.FormPanel({
url:'',
method:'POST',
labelWidth: 75,
frame:true,
title: 'insert role',
bodyStyle:'padding:5px 5px 0',
width: 420,
defaults: {width: 230},
defaultType: 'textfield',
onsubmit: Ext.emptyFn,
submit: function() {
this.getEl().dom.action='javascript:preSubmit();';
this.getEl().dom.submit();
},
items: [
{
fieldLabel: 'role name',
name: 'roleName',
allowBlank:false,
blankText: '${msgResource["public.can.not.empty"]}'
},
{
xtype: 'fieldset',
title: 'Card Service List',
autoHeight:true,
defaultType: 'checkbox',
layout: 'column',
columnWidth:'.5',
//checkboxToggle:true,
hideLabels: true,
width: 330,
items: [
<c:forEach items="${cardServiceList}" var="list" varStatus="status">
{ boxLabel:'${list.cardServiceAction}',
name:'tempPrivilegeId',
width: 115,
inputValue:'${list.cardServiceId}'
}<c:if test='${status.last == false}'>,</c:if>
</c:forEach>
]
},
{
xtype: 'fieldset',
title: 'Platform List',
// checkboxToggle:true,
autoHeight:true,
defaultType: 'checkbox',
hideLabels: true,
// layout: 'column',
//columnWidth:'.8',
width: 330,
items: [
<c:forEach items="${platFormList}" var="list" varStatus="status">
{ boxLabel:'${list.platformName}',
name:'tempPlatformId',
inputValue:'${list.platformId}'
}<c:if test='${status.last == false}'>,</c:if>
</c:forEach>
]
}
],
buttons: [{
text: '${msgResource["public.submit"]}',
handler:function(){simple.form.submit();}
},{
text: '${msgResource["public.goBack"]}',
handler:function(){javascript:goto('listRole.htm');}
}]
});
simple.render('show');
}); <!-- Ext.onReady(function() -->
</script>
<div id="show"></div>
</div>
- fieldset 多列显示 extjs
- fieldSet多列显示
- ExtJs FieldSet
- extjs fieldset
- extjs 跨列显示
- ExtJs 关于Tabpanel与fieldset切换时 fieldset在其他tab面板无法显示
- extjs fieldset 和 radio
- Extjs动态显示列/隐藏列
- Extjs学习 Ext.form.FieldSet
- ExtJS笔记--Ext.form.FieldSet
- ExtJs之字段集FieldSet
- extjs grid行和列显示不同颜色
- ExtJs Grid 日期控件列 显示问题
- ExtJS——表单按列显示
- Extjs列表列头动态显示—合并列头
- Extjs Grid 只显示列名 不显示数据
- Extjs Grid 合并两列显示的数据
- Extjs 的GridPanel剔除隐藏列在menuDisabled 显示。
- Deferred Lighting (延迟光照) + Light Pre-Pass 实现多光源动态阴影
- 《福尔摩斯探案集》摘录
- DVD文档资源
- Android2.1消息应用(Messaging)源码学习笔记
- Yum出错Error: Cannot find a valid baseurl for repo: addons
- fieldset 多列显示 extjs
- Java常用术语解释
- Linux下Evince不能显示中文的解决办法
- Python Web Frameworks
- 通过SQL Server Profiler来监视分析死锁
- the Art of java中的HTTP下载管理器
- C++的单实例方法
- AS中更改DataGrid的DataProvider数据模型的刷新问题
- 对于运行时才能知道类型的数据实例化问题