check

The check event is fired after a TreeView item's checkbox has been clicked.

The following additional properties are set to the event object:
- element - the element of the node being selected;
- item - the data source item object of the node being selected;
- checked - whether the checkbox is checked or unchecked.

<ul id="treeview">
    <li>My Project
        <ul>
            <li id="someid">js</li>
            <li>css</li>
        </ul>
        <li>index.html<li>
        <li>upload.php<li>
    </li>
</ul>

<script type="text/javascript">
    jQuery(function ($) {
        $("#treeview").shieldTreeView({
            events: {
                check: function(e) {
                    console.log((e.checked ? "" : "un") + "checked a node");
                }
            }
        });
    });
</script>