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

Hidden method of extjs form textfield_extjs

WBOY
Release: 2016-05-16 18:57:04
Original
1343 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template