title: i have using been kendo tree view for navigation purpose.and in the time of load i want all the nodes to visible
body: <p>i have been  using been kendo tree view for navigation purpose and at the time of load i want all the nodes to visible so i have searched in internet and added the following  jquery </p>
  
  <pre><code>var tree = $("#kendoTreeview").data("kendoTreeView");
  tree.expand(".k-item");
  </code></pre>
  
  <p>I get following error</p>
  
  <blockquote>
    <p>JavaScript runtime error: Unable to get property 'expand' of undefined or null reference.</p>
  </blockquote>
  
  <p>and I don't know how to solve this problem. Why do i get this error and in jquery is there any method called expand</p>