<h1>
    Refreshing Nodes
</h1>
<p>
    To refresh nodes after making changes to the items in the
    <b>itemsSource</b> array, you may call the TreeView's
    <b>loadTree</b> method. This will update the tree and
    will ensure the currently selected node is visible.
</p>
<p>
    If you want to refresh the content of a single node,
    however, it may be more efficient to change the node
    element directly without reloading the whole tree.
</p>
<p>
    The buttons below show both approaches:
</p>

<div class="row demo-settings">
    <div class="col-xs-6">
        @Html.C1().TreeView().Id("theTree")
    </div>
    <div class="col-xs-6">
        <button id="btnTree" class="btn btn-default">
            Change and reload the TreeView
        </button>
        <button id="btnNode" class="btn btn-default">
            Change and update the TreeNode
        </button>
    </div>
</div>