TreeSettingsModel

23 Sep 20251 minute to read

Interface for a class TreeSettings

Properties

autoCheck boolean

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

checkDisabledChildren boolean

Determines whether the disabled children will be checked or not if their parent is checked.

expandOn ExpandOn

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.

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.