title: Extjs: How to change tree node attributes?
body: <p>How can I change the attributes of a tree node?</p>
  
  <p>One tree node has the following attributes:</p>
  
  <pre><code>{"id":"75",
  "description":"My Tree Node",
  "status":"25"
  "uiProvider":"col",
  "leaf":true}
  </code></pre>
  
  <p>Now my script receives the following data</p>
  
  <pre><code>{
  "id":"75",
  "status":"100",
  "cls":"done"
  }
  </code></pre>
  
  <p>I try to update the attributes (<strong>UPDATED</strong>):</p>
  
  <pre><code>// a.result.data has the new data and taskID is the node's id
  for (var property in a.result.data)
  { 
    tree.getNodeById(taskID).attributes[property] = a.result.data[property];
  }
  </code></pre>
  
  <p>The tree, however, does not get updated.</p>
  
  <p>How can I make the tree show the changes?
  I need the node to change existing attributes and add the new attributes.</p>
  
  <p>I appreciate your help!</p>