uncheckReturns: tree as jQuery object

Uncheck tree node.

Parameters

NameTypeDescription
node {object} The node as jQuery object

Examples

Sample

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