coldflame
22 Jul 2012, 11:09 AM
Hi Every one,
I have a weired situation with combobox setValue() function, it works fine in all cases when i do the following steps then it will set the id instead of display value, steps are
- Type some text in combobox, it will give you local type ahead feature search the list and give you the matched selected list, select the field and hit enter.
- Now call setValue("7") it will set the 7 instead of item value against this id, i have tried this setValue(7) as well.
I am using Extjs 4.1 and store is local store.
Thanks
Umair
I have a weired situation with combobox setValue() function, it works fine in all cases when i do the following steps then it will set the id instead of display value, steps are
- Type some text in combobox, it will give you local type ahead feature search the list and give you the matched selected list, select the field and hit enter.
- Now call setValue("7") it will set the 7 instead of item value against this id, i have tried this setValue(7) as well.
I am using Extjs 4.1 and store is local store.
Thanks
Umair