<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.grapecity.com/wijmo/5.latest/styles/wijmo.min.css">
<script src="https://cdn.grapecity.com/wijmo/5.latest/controls/wijmo.min.js"></script>
<script src="https://cdn.grapecity.com/wijmo/5.latest/controls/wijmo.nav.min.js"></script>
<div class="container">
<h1>
Adding Nodes
</h1>
<p>
To add nodes to a tree, call the parent node's <b>addChildNode</b>
method. To add nodes at the root level, call the TreeView's
<b>addChildNode</b> method.</p>
<p>
This is more efficient than adding data items to the
tree's <b>itemsSource</b> array and refreshing the tree by
calling the <b>loadTree</b> method.</p>
<div class="row">
<div class="col-xs-5">
<div id="theTree">
</div>
</div>
<div class="col-xs-7">
<p>
New Node Content:
<input class="form-control" id="theInput" value="My New Node">
</p>
<p>
Add Node:
<button id="btnFirst" class="btn btn-default">First Child</button>
<button id="btnLast" class="btn btn-default">Last Child</button>
</p>
<p>
<button id="btnNoSel" class="btn btn-default">Remove Selection</button>
</p>
</div>
</div>
</div>