View Full Version : combobox not getting rendered in table layout

19 Jun 2009, 2:42 AM

I am using a fieldset with table layout and I am adding two components in that one is label and other is combobox. The label is rendering fine but combobox rendering is having some issues.

this.oManageUserFaxJobSettingsPanel = new Ext.form.FieldSet({
width: '97%',
frame: false,
border: false,
hidden: false,
layout: 'table',
layoutConfig: {
columns: 2
items: new Ext.form.Label({
text: 'hello'
items: new Ext.form.ComboBox({



While debugging this i fount that in firebug the style width of the combobox is coming as 0 if i change this to 1 or -1, it renders fine.
Please refer screnshot.

19 Jun 2009, 3:38 AM
my first question is why are you using a table layout?

19 Jun 2009, 3:41 AM
my requirement is to have some elements in table format
like in one row 2 elements and in other 3, 4 and so on