title: Kendo Treeview Expanding big tree issue
body: <p>I have created a tree control using kendo TreeView.it has more than 10,000 nodes and i have used loadOnDemand false when creating Tree.
  I am providing a feature to expand the tree by its level, for this i have created a method which takes the parameter "level" as number and expand it accordingly and user can enter 15 (max level) into the method, it works fine with 500 to 600 nodes for all the levels but when tree has more than 5000 nodes than if user is trying to expand above the 2nd level nodes then browser hangs and shows not responding error.</p>
  
  <p>Method which i have created to expand the tree is :-     </p>
  
  <pre class="lang-js prettyprint-override"><code>function ExapandByLevel(level, currentLevel) {
    if (!currentLevel) { 
      currentLevel = 0;
    }
    if (level != currentLevel) {
      var collapsedItems = $("#treeView").find(".k-plus:visible"); 
      if (collapsedItems.length &gt; 0) {
          setTimeout(function () {
              currentLevel++;
  
              var $tree = $("#treeView");
              var treeView = $tree.data("kendoTreeView");
  
              var collapsedItemsLength = collapsedItems.length;
              for (var i = 0; i &lt; collapsedItemsLength; i++) {
                  treeView.expand($(collapsedItems[i]).closest(".k-item"));
              }
              ExapandByLevel(level, currentLevel);
          }, 100);
      }
      else {
          //console.timeEnd("ExapandByLevel");
          hideLoading();
      }
    }
    if (level == currentLevel) {
  
      hideLoading();
    }
  }
  </code></pre>
  
  <p>call above given method like this:-</p>
  
  <pre><code>ExapandByLevel(15);
  </code></pre>
  
  <p>here 15 is level to expand in tree.</p>
  
  <p>when tree has more than 5000 nodes than if user is trying to expand above the 2nd level nodes then browser hangs and shows not responding error.
  please suggest any way to do this,what i want is expand the tree which can contains more than 5000 nodes.</p>