TextField.hide() doesn't hide the label
Page 1 of 1
TextField.hide() doesn't hide the label
When using .hide() on att TextField the associated label is still visible
Re: TextField.hide() doesn't hide the label
Add these along with your other configuration objects:
Code:
,onHide: function(){this.getEl().up('.x-form-item').setDisplayed(false);}
,onShow: function(){this.getEl().up('.x-form-item').setDisplayed(true);}
.hide() and .show() will now affect the parent element.
Code:
,onHide: function(){this.getEl().up('.x-form-item').setDisplayed(false);}
,onShow: function(){this.getEl().up('.x-form-item').setDisplayed(true);}
.hide() and .show() will now affect the parent element.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|