AtulDawkhare
1 Aug 2012, 3:42 AM
Hi ,
Recently I have upgraded Ext from 4.0.7 to 4.1
earlier the combo was working very fine. but now combo is not taking width.
here is my code
var combo=Ext.create('Ext.form.ComboBox',
{
multiSelect : false,
id:'SelectComponentId',
name:'SelectComponentId',
allowBlank: true,
inputId:'SelectComponentId_input',
hideTrigger: false,
editable: false,
selectOnFocus: false,
typeAhead: false,
disabled: false,
readOnly: false,
width: 312,
store: [['-1','Select User'],['59','Yagna Tel Clear']],
value:'-1',
renderTo:'UserBO_SelectComponentId_Div',
triggerAction: 'all'
});
when I execute the above code, I combo as attached. but when I removed the width then combo looks ok, at least it takes default width.
Can you please suggest what is missing here? I want to give width to combo also combo looks fine.
37666
Recently I have upgraded Ext from 4.0.7 to 4.1
earlier the combo was working very fine. but now combo is not taking width.
here is my code
var combo=Ext.create('Ext.form.ComboBox',
{
multiSelect : false,
id:'SelectComponentId',
name:'SelectComponentId',
allowBlank: true,
inputId:'SelectComponentId_input',
hideTrigger: false,
editable: false,
selectOnFocus: false,
typeAhead: false,
disabled: false,
readOnly: false,
width: 312,
store: [['-1','Select User'],['59','Yagna Tel Clear']],
value:'-1',
renderTo:'UserBO_SelectComponentId_Div',
triggerAction: 'all'
});
when I execute the above code, I combo as attached. but when I removed the width then combo looks ok, at least it takes default width.
Can you please suggest what is missing here? I want to give width to combo also combo looks fine.
37666