getChildrenDataSource

Returns the DataSource object for the node's children, if any. Accepts a jQuery object, DOM Element or a path identifying the node.

The result will be undefined if the node is not loaded, or if it does not have any children.

<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 undefined
        treeview.getChildrenDataSource([0, 0]);
    });
</script>