I have a php file that returns a string like this
["item1","item2","item3","item4"]
I need to create a combobox with ExtJS. The options must be the items like 4 options. How would I do this if the php link is items.php
. Just to make things clear I need the combobox displayField
and valueField
have the same values, like the item1
will be the displayField
and the valueField
. Thanks in advance!
P.S. the string is not Json formatted, I guess it's array store.