Search results

TreeSettings API in JavaScript (ES5) Dropdown Tree API control

Properties

autoCheck

boolean

Specifies whether the child and parent tree items check states are dependent over each other when checkboxes are enabled.

Defaults to false

expandOn

string

Specifies the action on which the parent items in the pop-up should expand or collapse. The available actions are

  • Auto - In desktop, the expand or collapse operation happens when you double-click the node, and in mobile devices it happens on single-tap.
  • Click - The expand or collapse operation happens when you perform single-click/tap on the pop-up item in both desktop and mobile devices.
  • DblClick - The expand or collapse operation happens when you perform a double-click/tap on the pop-up item in both desktop and mobile devices.
  • None - The expand or collapse operation will not happen when you perform single-click/tap or double-click/tap on the pop-up items in both desktop and mobile devices.

Defaults to ‘Auto’

loadOnDemand

boolean

By default, the load on demand (Lazy load) is set to false. Enabling this property will render only the parent tree items in the popup and the child items will be rendered on demand when expanding the corresponding parent node.

Defaults to false