title: How to load data into Ext.tree.TreePanel (not through ajax)
body: <p>in example here
  <a href="http://docs.sencha.com/ext-js/3-4/#!/api/Ext.tree.TreePanel" rel="nofollow">http://docs.sencha.com/ext-js/3-4/#!/api/Ext.tree.TreePanel</a></p>
  
  <p>i can see property <code>dataUrl: 'get-nodes.php',</code></p>
  
  <p>but how i can change data from inside my code? there is no <code>store</code> property or <code>setSource</code> method</p>
  
  <p><code>EDIT:</code></p>
  
  <p>as i found, one of the possibilities is to create my own <code>Ext.tree.TreeLoader</code> that would have <code>setSource</code> method and use it instead of default</p>
  
  <p>maybe there is more variants?</p>
  
  <p><code>EDIT:</code></p>
  
  <p>seems there is already a solution for this</p>
  
  <p><a href="http://www.sencha.com/forum/showthread.php?4595-Creating-Ext.tree.TreePanel-from-static-JSON-data-in-one-shot" rel="nofollow">http://www.sencha.com/forum/showthread.php?4595-Creating-Ext.tree.TreePanel-from-static-JSON-data-in-one-shot</a></p>