select

The select event is fired before a TreeView item is selected via keyboard navigation.
This event can be cancelled.

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.

<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: {
                select: function(e) {
                    console.log("selecting  " + this.getPath(e.element));
                }
            }
        });
    });
</script>