title: How to load the tree panel tree store with Ajax response
body: <p>How to load the tree panel tree store with Ajax response.</p>
  
  <p>How to load the tree panel tree store with Ajax response json.</p>
  
  <p>i can load it locally , i.e. if i have the json file locally available then i can load it through configured proxy by using treeStore.load() method.</p>
  
  <p>But now if i have the data from a Ajax response then how can i do that?</p>
  
  <p>Model :</p>
  
  <pre><code>Ext.define('dimExpModel', {
  extend : 'Ext.data.Model',
  fields : [
  {
      name: 'memberName'
  },
  {
      name: 'memberCode'
  },
  {
      name: 'dimension'
  }
  ]
  });
  </code></pre>
  
  <p>Store :</p>
  
  <pre><code>var dimExpStore = Ext.create('Ext.data.TreeStore',{
           storeId:'dimExpStore',
           model:dimExpModel,
           proxy: {
                      type: 'memory',
                      reader: {
                          type: 'json'
                      }
                  }
  
      });
  </code></pre>
  
  <p>Tree Panel :</p>
  
  <pre><code>{
  "xtype": "treepanel",
  "height": 250,
  "id": "treePanel",
  "width":400,
  "title":"My Tree Panel",
  "store": "dimExpStore",
  "displayField":"memberName",
  "useArrows":true,
  "viewConfig": {
  
  }
  };
  </code></pre>
  
  <p>Any help is appreciated.</p>