Event fires on un selection of tree node
Parameters
Name | Type | Description |
---|---|---|
e | {object} | event data |
node | {object} | the node as jquery object |
id | {string} | the id of the record |
Examples
Event Sample
<p>Select/Unselect tree node in order to fire the event.</p>
<div id="tree" data-source="/Locations/Get"></div>
<script>
var tree = $('#tree').tree();
tree.on('unselect', function (e, node, id) {
alert('unselect is fired for node with id=' + id);
});
</script>