loadOnDemand Boolean (default: false)

Indicates whether the child DataSources should be fetched lazily when parent groups get expanded. Setting this to true causes loading the child DataSources when expanding the parent node.

Example - force lazy loading of sublevels

<input id="dropdowntree">
<script>
    $("#dropdowntree").kendoDropDownTree({
        loadOnDemand: true,
        dataSource: [
            {
                text: "foo", items: [
                    { text: "bar" }
                ]
            }
        ]
    });
</script>
In this article
Not finding the help you need? Improve this article