updateIndetermined

Updates the checked state of the given node, its children and its parents. Accepts a jQuery object, DOM Element or a path identifying the node.

If no argument is passed, all checkboxes states in the treeview will be updated.

<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();

        treeview.updateIndetermined();
    });
</script>