width : numberDefault: undefined

Width of the tree.

Examples

JS Config

    
 <div id="tree"></div>
 <script>
     var tree = $('#tree').tree({
         dataSource: '/Locations/Get',
         width: 500,
         uiLibrary: 'bootstrap',
         border: true
     });
 </script>

  

HTML Config

    
 <div id="tree" width="500" data-source="/Locations/Get" data-ui-library="bootstrap" data-border="true"></div>
 <script>
     $('#tree').tree();
 </script>