title: Ext JS 4 inline array store config
body: <p>Is B) not the inline equivalent of A)?</p>
  
  <pre><code>// A) Create store with Ext.create
  var storeInstance = Ext.create('Ext.data.ArrayStore', {
      fields: ['company', 'price'],
      data: [
          ['3m Co',71.72],
          ['Alcoa Inc',29.01],
          ['Boeing Co.',75.43]
      ]
  });
  
  // B) Inline config object for store instanced in A)
  var storeConfig = {
      xtype: 'store:array',  
      fields: [ 'company', 'price' ],
      data: [
          ['3m Co',71.72],
          ['Alcoa Inc',29.01],
          ['Boeing Co.',75.43]
      ]
  };
  </code></pre>
  
  <p>Here's the code in a sandbox: <a href="http://jsfiddle.net/cFD9W/1/" rel="nofollow">http://jsfiddle.net/cFD9W/1/</a></p>