isLoaded

Returns whether a particular treeview node has been loaded. Accepts a jQuery object, DOM Element or a path identifying the node.

Loading is normally done when an item is expanded for the first time, regardless of whether it is bound to a remote or a local data source.

<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 ($) {
        var treeview = $("#treeview").shieldTreeView().swidget();

        // prints false at this point
        console.log(treeview.isLoaded([0, 0]));
    });
</script>