PDA

View Full Version : hiding fields and labels



WBarnie
30 Jul 2009, 10:58 AM
I am using a formPanel and there are a few fields that need to be hide base on what is being processed. The fields are being hidden but the labels still shows. I am using



Ext.getCmp('expirationDate').hide();


To hide the field. How can I hide both data and label?

danh2000
30 Jul 2009, 1:25 PM
This has been asked many many times before.

Simply searching the forum would have led you to this:

http://extjs.com/forum/showthread.php?p=120152#post120152