ok- i reworked it, but you can see that direct array binding yeilds strange UI render

Thanks so much for jumping in- this community is outstanding!

ok- i understand using the store: property of the combobox and binding to an actual store. (though i don't see ArrayStore in ExtJs).

What I'm try to do is something that is in the documentation indicating that you can provide an array 'directly' as the store property. So if you look at my combobox4, it bindings to the one dimension array- per the documentation. However, if you run the code- the droplist is only a few pixels high- while the combobox that binds to an actual store (in this case simplestore) renders 'correctly' with a legible drop-list item height.

i don't know if you receive notification of my post- but i reworked the code per the comments in this thread and i'm still seeing strange ui behavior- if you see my post below.
(i'm sorry if you received notification on this thread already- i won't do this again, if you did.)
thanks.

17 Feb 2009, 8:50 AM

stratton

For what it is worth... i defined the simply array in javascript incorrectly (store: [['mon'], ['tue'], ['wed']]).

It should be defined as shown below:

store: ['mon', 'tue', 'wed'],

If the array is incorrectly defined- the control is incorrectly rendered.