destroyReturns: jQuery object

Destroy the tree.

Examples

Method Sample

    
 <button onclick="tree.destroy()" class="gj-button-md">Destroy</button>
 <br/>
 <div id="tree"></div>
 <script>
     var tree = $('#tree').tree({
         dataSource: '/Locations/Get'
     });
 </script>