title: How to bind array to arrystore in order to populate combo in extjs
body: <p>I am having array as</p>
  
  <pre><code>var cars = new Array('audi','benz','citron','nissan','alto');
  </code></pre>
  
  <p>I want to add this data to arraystore like below</p>
  
  <pre><code> var myStore = new Ext.data.ArrayStore({
          data   : cars ,
          fields : ['names']
      });
  </code></pre>
  
  <p>On Binding this array store to combo </p>
  
  <pre><code> var myCombo = new Ext.form.ComboBox({
          store: myStore ,
          displayField: 'name',
          valueField: 'name',
          typeAhead: true,
          mode: 'local',
          forceSelection: true,
          triggerAction: 'all',
          emptyText: 'Select a state...',
          selectOnFocus: true,
  
      });
  </code></pre>
  
  <p>The combo is showing only first letter of each word in the array as a, b, c, n, a</p>
  
  <p>How can I properly disply the combo as the arry i am using is is populated programatically and then binding to arraystore</p>