void append(jQuery/list/object, jQuery/list, doneCallback)
Inserts a node under a specific node. If an existing node is passed for insertion, it is being moved under the given parent. If no parent is specified, the node is placed at the top level. As a third parameter, accepts an optional callback to execute once the append is finished.

For adding new items, one can pass a JavaScript dictionary, containing the item data.

This method also expands the parent if not already expanded.

<ul id="treeview">
    <li>My Project
            <li id="someid">js</li>

<script type="text/javascript">
    jQuery(function ($) {
        var treeview = $("#treeview").shieldTreeView().swidget();

        // add a new item at the top level
        treeview.append({text: "new item"});