EXT中怎么隐藏这个属性
时间:2011-07-31
来源:互联网
JScript code
比如要隐藏 权证编号 ,该怎么弄。。。
Ext.titansoft.bpm.MutiObligeeInputGrid = Ext.extend(Ext.ux.grid.PropertyGrid,{ constructor:function(config){ config = config || {}; Ext.apply(config,{ autoScroll:true, columnLines:true, listeners:{ afteredit : this.onAfterEditHandler.createDelegate(this) }, source:[{ label:'权证类型', editor:{ xtype:'combo', typeAhead: true, triggerAction: 'all', store:new Ext.data.JsonStore({ fields : ['id','name','hiddenStatus'], data : Ext.titansoft.bpm.resources.findByParent('00000000000000000000300010001000').list }), displayField:'name', selectOnFocus : true, forceSelection : true, name:'warrantType.id', valueField:'id', mode:'local' } },{ label:'权证编号', editor:{ xtype:'textfield', maxLength:32, name:'warrantNo' } },{ label:'产权比例', editor:{ xtype:'textfield', name:'rightScale', maxLength:32 } },{ label:'产权来源', editor:{ xtype:'textfield', name:'rightSource', maxLength:100 } },{ ......
比如要隐藏 权证编号 ,该怎么弄。。。
作者: xuyisen_1987 发布时间: 2011-07-31
label:'权证编号',
hidden:true,
editor:{
xtype:'textfield',
maxLength:32,
name:'warrantNo'
}
hidden:true,
editor:{
xtype:'textfield',
maxLength:32,
name:'warrantNo'
}
作者: MuBeiBei 发布时间: 2011-07-31
加hidden:true,
作者: MuBeiBei 发布时间: 2011-07-31
引用 1 楼 mubeibei 的回复:
label:'权证编号',
hidden:true,
editor:{
xtype:'textfield',
maxLength:32,
name:'warrantNo'
……
label:'权证编号',
hidden:true,
editor:{
xtype:'textfield',
maxLength:32,
name:'warrantNo'
……
不是每个组件对象都有hidden:true这个属性的 楼主得组织好source 重新setSource(source)
楼主的意图是什么 单单隐藏掉这一行数据么?
作者: fanchuanzhidu 发布时间: 2011-07-31
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28