Interface ExpandAllOptions

interface ExpandAllOptions {
    collapseOthers?: boolean;
    deep?: boolean;
    depth?: number;
    force?: boolean;
    keepActiveNodeVisible?: boolean;
    loadLazy?: boolean;
    resetLazy?: boolean;
}

Properties

collapseOthers?: boolean

Expand up to level=depth and collapse all other branches. Only in combination with flag == true, depth > 0.

Default

false
deep?: boolean

Also collapse child nodes beyond the depth level. Otherwise only the depth level is collapsed and the expand state of the descendants is retained. Only in combination with collapse and depth. Expanding with deep option is not supported as recursion depth implied by the depth option. However a deep option will be considered if collapseOthers is set.

Default

false
depth?: number

Restrict expand level. Pass 0 to make only toplevel nodes visible, 1 to expand one level deeper, etc.

Default

unset (unlimited)
force?: boolean

Ignore tree's minExpandLevel option

Default

false
keepActiveNodeVisible?: boolean

Keep active node visible

Default

true
loadLazy?: boolean

Expand and load lazy nodes

Default

false
resetLazy?: boolean

Unload lazily loaded children if any (if collapsing).

Default

false