PDA

View Full Version : field labels not appearing



harsha_velicheti
29 Sep 2009, 5:48 AM
Hi,
I have a fieldset with table layout and i am adding controls(textbox, combobox) to it dynamically, but i am not able to see the labels of these controls, i am doing doLayout() after adding all the controls, however if i am not using table layout of the fieldset then the labels are appearing. Please help me with this.

Thanks in advance,
Harsha

Animal
29 Sep 2009, 5:52 AM
http://www.extjs.com/deploy/ext-3.0.0/docs/?class=Ext.Component&member=fieldLabel

See the bold Note

http://www.extjs.com/learn/Ext_FAQ_Forms

Animal
29 Sep 2009, 6:02 AM
Comprehend? Click the links, and read the results.

harsha_velicheti
29 Sep 2009, 6:07 AM
Thank you, got it.
Sorry for my earlier post, did not look into the second link.
Pardon my ignorance, but does this mean it is not possible to add controls with field labels to any layouts other than form layout(we have a requirement where in we need to place controls in the form of a table). It will be of great help if you could let me know if there is any work around.

TIA.
Harsha

Animal
29 Sep 2009, 6:10 AM
So, put a layout:'form' container in there