Uncheck tree node.
Parameters
Name | Type | Description |
---|---|---|
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>