title: Extjs5. d&d tree to grid. remove record with children from tree
body: <p>I need when I drop in grid records with leaf = false - all of its children removed from tree
  I use this code on drop grid. </p>
  
  <pre><code>drop: function (node, data) {   
    data.records[0].parentNode.removeChild(data.records[0]); 
  
    var tree = Ext.getCmp(component.treeId); 
  
    tree.reconfigure();
    }
  </code></pre>
  
  <p>But view is reconfigured with warning :"[W] XTemplate evaluation exception: me.getTreeStore(...) is null" and last child don't removed from tree view. (this is happend in function view.doAdd)</p>
  
  <p>If I look store , last child is removed.(store.sinc() send to the server all removed children)</p>
  
  <p>I tried use data.records[0].drop(false),but result is same.</p>
  
  <p>What do i do wrong?</p>