@page "/tree-data-binding-refresh"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    Refreshing tree data-binding
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    Lazily populate a RadzenTree and refresh it programmatically. Use the context menu of a node to open a dialog for adding new child items in the data model.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo the <strong>Volkswagen Group</strong> company hierarchy loads subsidiaries on demand via <code>Expand</code> event, right-clicking any node opens a dialog to add new subsidiaries which updates the data dictionary and calls <code>tree.Reload()</code> to refresh the display.
</RadzenText>

<RadzenExample ComponentName="Tree" Example="TreeDataBindingRefresh">
    <TreeDataBindingRefresh />
</RadzenExample>
