View Full Version : Error while loading Select Dropdown data from Store.

17 Feb 2011, 6:29 AM
Hi all,
I have a Select field and i want to load its options data from Store. Here is the code.

var mealsDropdown = new Ext.form.Select({
store: mealStore,
valueField: 'uuid',
cls: 'rounded'


But no data loaded in Select Field. And when i click on Select Field it throws following error.
"Uncaught TypeError: Cannot read property 'id' of undefined"
Any help is appreciated. Thanks.

21 Feb 2011, 3:08 AM
still waiting for a reply :(

23 Feb 2011, 12:35 PM
How is the store you are using defined and what is the data coming over the wire looking like? I sounds like you have defined a store with a field 'id' and no field by that name is in the incoming data.