title: Kendo UI HierarchicalDataSource schema not working
body: <p>I have a kendo tree which i am trying to bind it to a local json arrray.</p>
  
  <p>Trying to map my json object properties to what treeView expects is not working.</p>
  
  <p>The value of the "text" property is the function definition (<code>function (item){ return item.Text; }</code>) The function itself doesn't gets evaluated</p>
  
  <p><a href="http://jsfiddle.net/LmYC4/" rel="nofollow">jsfiddle</a></p>
  
  <p>Html:</p>
  
  <pre><code>&lt;div id="tree"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Javascript:</p>
  
  <pre><code>var data = [
      {
         "Text": "Some dummy text"
      }
  ];
  
  var inlineDefault = new kendo.data.HierarchicalDataSource({
      data: data,
      schema: {
          model: {
              text: function(item){
                  return item.Text;
              }
          }
      }
  });
  
  $("#tree").kendoTreeView({
      dataSource: inlineDefault
  });
  </code></pre>