autoLoad : booleanDefault: true

When this setting is enabled the content of the tree will be loaded automatically after the creation of the tree.

Examples

disabled

    
 <div id="tree"></div>
 <script>
     var tree = $('#tree').tree({
         dataSource: '/Locations/Get',
         autoLoad: false
     });
     tree.reload(); //call .reload() explicitly in order to load the data in the tree
 </script>

  

enabled

    
 <div id="tree"></div>
 <script>
     $('#tree').tree({
         dataSource: '/Locations/Get',
         autoLoad: true
     });
 </script>