<h1>
    Lazy-Loading and OData
</h1>

<p>
    This example shows how you can use the <b>TreeView</b> control to
    display hierarchical data from OData sources.
</p>
<p>
    The sample starts by loading the Northwind employees table. When the
    data is loaded, the code adds an "Orders" empty array to each employee.
    The <b>lazyLoadFunction</b> is used to load the orders when an employee
    node is expanded.
</p>
<p>
    The orders table also adds an "Order_Details" empty array to each
    order. The <b>lazyLoadFunction</b> is used to load the order details
    when an order node is expanded.
</p>

@Html.C1().TreeView().Id("theTree")