Hi
I have a combobox in the form panel. Initially I had used Ext.data.SimpleStore and now I changed it to Ext.data.Store. After making this change,the values in my combobox are not being displayed.. However, when I press down key to check the values..the number of rows present is right..( I tried changing the store to 3 elements and checked ) only the text is not visible since the height of the row is too less I think.
So, someone please help me to fix it.
Code:
{
name : 'cName',
xtype : 'combobox',
displayField : 'name',
valueField : 'code',
store : new Ext.data.Store({
fields : [ 'code', 'name' ],
data : [ [ '1', 'ABCD' ],
[ '2', 'EFGH' ],
[ '3', 'IJKL' ] ,
['4','MNOP']
]
}),
}
Thanks