手机
当前位置:查字典教程网 >编程开发 >Javascript教程 >extjs form textfield的隐藏方法
extjs form textfield的隐藏方法
摘要:this.formpanel=newExt.FormPanel({items:[{fieldLabel:'代码',name:'FCode',...

this.formpanel = new Ext.FormPanel({

items: [{

fieldLabel: '代码',

name: 'FCode',

anchor:'100%',

id: 'fid'

},{

fieldLabel: '名称',

name: 'FName',

anchor:'100%' // anchor width by percentage

},{

xtype: 'textfield',

name: 'FID',

id: 'FID',

hidden: true,

hideLabel:true

}]

});

只需将textfield的hidden和hideLabel配置为true就可以了。只设置hidden:true时会显示出来一个:的标签。

【extjs form textfield的隐藏方法】相关文章:

JavaScript获得url查询参数的方法

JQuery给网页更换皮肤的方法

jQuery取消ajax请求的方法

js验证上传图片的方法

JS/Jquery判断对象为空的方法

js比较日期大小的方法

AngularJS身份验证的方法

javascript常用的方法分享

JavaScript实现点击自动选择TextArea文本的方法

AngularJs中route的使用方法和配置

精品推荐
分类导航