Home  >  Article  >  Web Front-end  >  Hidden method of extjs form textfield_extjs

Hidden method of extjs form textfield_extjs

WBOY
WBOYOriginal
2016-05-16 18:57:041321browse

this.formpanel = new Ext.FormPanel({
items: [{
fieldLabel: 'code',
name: 'FCode',
anchor:'100%',
id: 'fid'
},{
fieldLabel: 'name',
name: 'FName',
anchor:'100%' // anchor width by percentage
},{
xtype: 'textfield',
name: 'FID',
id: 'FID',
hidden: true,
hideLabel:true
}]
});
Just configure the textfield’s hidden and hideLabel to true. When only hidden:true is set, a: label will be displayed.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn