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.

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.

false
depth?: number

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

unset (unlimited)
force?: boolean

Ignore tree's minExpandLevel option

false
keepActiveNodeVisible?: boolean

Keep active node visible

true
loadLazy?: boolean

Expand and load lazy nodes

false
resetLazy?: boolean

Unload lazily loaded children if any (if collapsing).

false