PDA

View Full Version : How to truly hide Textfield?



nneverwei
29 Oct 2010, 12:47 AM
Sorry for my English.
I got a textfield, then i set hidden='true' and hideLable='true', this textfield disappear.
But it still keep a blank position.
What i want to know is how can i make this textfield truely hide?(as it never exist there)

Condor
29 Oct 2010, 12:57 AM
Ext.layout.FormLayout.prototype.trackLabels = true;

nneverwei
29 Oct 2010, 1:33 AM
Thanks your reply Condor, but after i set trackLablels to true, the hidden textfield still keep a blank space......
Like this:
before hidden: -----> Textfield1 Textfiled2 Textfield3;
after hide Textfiled 2 -----> Textfield1_______Textfield3;
what i need is -------> Textfield1 Textfield3;

walldorff
29 Oct 2010, 1:38 AM
Maybe you could assign a css class to TextField2, in which you hide it.

Condor
29 Oct 2010, 1:41 AM
Which layout are you using to position these 3 textfields?

nneverwei
30 Oct 2010, 10:54 PM
tableform, Condor