title: How to extract the data from data.store to an array?
body: <p>here is my xml code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;root&gt;
  &lt;investors&gt;
      &lt;investor name="Active"/&gt;
      &lt;investor name="Aggressive"/&gt;
      &lt;investor name="Conservative"/&gt;
      &lt;investor name="Day Trader"/&gt;
      &lt;investor name="Very Active"/&gt;
  &lt;/investors&gt;    
  &lt;events&gt;
      &lt;event period="3 Month Expiry"/&gt;
      &lt;event period="LEAPS"/&gt;
      &lt;event period="Monthlies"/&gt;
      &lt;event period="Monthly Expiries"/&gt;
      &lt;event period="Weeklies"/&gt;
  &lt;/events&gt;
  &lt;prices&gt;
      &lt;price rate="$0.5"/&gt;
      &lt;price rate="$0.05"/&gt;
      &lt;price rate="$1"/&gt;
      &lt;price rate="$22"/&gt;
      &lt;price rate="$100.34"/&gt;
  &lt;/prices&gt;   
  &lt;/root&gt;
  </code></pre>
  
  <p>here is my code:</p>
  
  <pre><code>    Ext.onReady(function(){
                       var hi= [],hello = [], hey = [];
        Ext.getBody().mask(true, '&lt;div class="demos-loading"&gt;Loading&amp;hellip;&lt;/div&gt;');  
      var tsstore = new Ext.data.Store({    
          url: 'xmlformat.xml',
          autoLoad: true,
          reader: new Ext.data.XmlReader({
                 record: 'investor'
             }, [{name: 'name', mapping: '@name'}])
      });
  
     var evstore = new Ext.data.Store({    
          url: 'xmlformat.xml',
          autoLoad: true,
          reader: new Ext.data.XmlReader({
                 record: 'event'
             }, [{name: 'Eve', mapping: '@period'}])
      });
  
     var prstore = new Ext.data.Store({    
          url: 'xmlformat.xml',
          autoLoad: true,
          reader: new Ext.data.XmlReader({
                 record: 'price'
             }, [{name: 'Pri', mapping: '@rate'}])
      });
      var tsgrid = new Ext.grid.GridPanel({
          store: tsstore,
          columns: [{header: "Trading Style", dataIndex: 'name', sortable: true}],
          renderTo:'example-grid',
          width:540,
          height:200
      });
      var evgrid = new Ext.grid.GridPanel({
          store: evstore,
          columns: [{header: "Events", dataIndex: 'Eve', sortable: true}],
          renderTo:'example-gridone',
          width:540,
          height:200
      });
      var prgrid = new Ext.grid.GridPanel({
          store: prstore,
          columns: [{header: "Price", dataIndex: 'Pri', sortable: true}],
          renderTo:'example-gridtwo',
          width:540,
          height:200
      });
  
  
  
  hello.push(tsstore.getRange());
  
  
  });
  </code></pre>
  
  <p>the data which is stored in the "prstore",i want it to copy it into an array.</p>
  
  <p>i want the output something like:</p>
  
  <pre><code>hello = {"$0.5","$0.05","$1","$22","$100.34"}
  </code></pre>
  
  <p>but it's not working for me 
  please help
  thank you</p>