loadOnDemand Boolean (default: true)

Indicates whether the child DataSources should be fetched lazily when parent groups get expanded. Setting this to false causes all child DataSources to be loaded at initialization time.

Example - force lazy loading of sublevels

<ul id="panelbar"></ul>
  loadOnDemand: true,
  dataSource: [
    { text: "foo", items: [
      { text: "bar" }
    ] }
In this article
Not finding the help you need? Improve this article