PDA

View Full Version : [FIXED-EXTJSIV-277][PR5] ComboBox does not work with simple array store



sidamos77
27 Mar 2011, 11:44 PM
In ExtJs 3, I could supply items to a ComboBox like this:
store: ['item1', 'item2']

This does not work in ExtJS 4. Only this works:
store: [[1, 'item1'], [2, 'item2']]

anthonykulis
2 Apr 2011, 10:42 PM
I have had no issues with stores using arrays. build your model, tell the store which model you will use. it is consistent throughout. only the proxy changes. as it should be.