title: ExtJS Load Data on Ajax return (json) and load store for grid.panel
body: <p>The code below works normally Loading data MyData variable, but need to get the data that comes from page in php and click on store feed the grid. 
  in my page php, it generate a code json, and ajax save its in variable data, in alert (javascript) it show information. </p>
  
  <p>Since now, thanks;</p>
  
  <pre><code>    pdvs : function () {
  
  $(document).ready(function () {
      $.ajax({
          url : "relpontovendaper.php",
          dataType : "json",
          success : function (data) {
              alert(data[1].nome);
          }
      });
  });
  
     // return php    [ { "nome": "Claudemir", "sobrenome": "Feliciano" }, { "nome":                                   "Mario Borges" , "sobrenome": "Juno" } ] 
  
  var store = new Ext.data.JsonStore({
          fields : ['name', 'area']
      });
  
  //This is Load.
  var myData = [['Maria', 'santos'],
      ['Lucas', 'pereira'],
      ['Mariana', 'fagundes']];
  
  var store = new Ext.data.SimpleStore({
          fields : [
              'nome',
              'sobrenome'
          ]
      });
  
  // this load in grid
  store.loadData(myData);
  
  //this dont load in grid  - informations of ajax in format json
  store.loadData(data);
  
  Ext.getCmp("_relpontoperiodo_grid").getStore().loadData(myData);
  
      }
     //This is a item (window)
      items : [{
      xtype : "grid",
      id : "_relpontoperiodo_grid",
      height : 230,
      width : 200,
      store : new Ext.data.SimpleStore({
          fields : [
              'nome',
              'sobrenome'
          ]
      }),
      columns : [{
              header : "PDV_COD",
              sortable : true,
              dataIndex : 'nome'
          }, {
              header : "PDV_DESCRIÇÃO",
              sortable : true,
              dataIndex : 'sobrenome',
              flex : 1
          }
      ]
          }
          ]
  </code></pre>