checkReturns: tree as jQuery object

Check tree node.

Parameters

NameTypeDescription
node {object} The node as jQuery object

Examples

Sample

    
 <button onclick="tree.check(tree.getNodeByText('China'))" class="gj-button-md">Check China</button>
 <br/>
 <div id="tree" data-source="/Locations/Get"></div>
 <script>
     var tree = $('#tree').tree({
         checkboxes: true
     });
     tree.on('dataBound', function() {
         tree.expandAll();
     });
 </script>