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">
        loadOnDemand: true,
        dataSource: [
                text: "foo", items: [
                    { text: "bar" }
In this article
Not finding the help you need? Improve this article