Edit this page

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

<div id="panelbar"></div>
  loadOnDemand: true,
  dataSource: [
    { text: "foo", items: [
      { text: "bar" }
    ] }
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article