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'))">Check China</button>
 <br/><br/>
 <div id="tree" data-source="/Locations/Get"></div>
 <script>
     var tree = $('#tree').tree({
         checkboxes: true
     });
     tree.on('dataBound', function() {
         tree.expandAll();
     });
 </script>