Interface DynaTree

Index

Methods

Methods

public activateKey(key: string): DynaTreeNode

Parameters

  • key: string

Returns

DynaTreeNode

public count(): number

Returns

number

public disable()

public enable()

public enableUpdate(enable: boolean)

Parameters

  • enable: boolean

public getActiveNode(): DynaTreeNode

Returns

DynaTreeNode

public getNodeByKey(key: string): DynaTreeNode

Parameters

  • key: string

Returns

DynaTreeNode

public getPersistData(): any

Returns

any

public getRoot(): DynaTreeNode

Returns

DynaTreeNode

public getSelectedNodes(stopOnParents: boolean): DynaTreeNode[]

Parameters

  • stopOnParents: boolean

Returns

DynaTreeNode[]

public initialize()

public isInitializing(): boolean

Returns

boolean

public isReloading(): boolean

Returns

boolean

public isUserEvent(): boolean

Returns

boolean

public loadKeyPath(keyPath: string, callback: (node: DynaTreeNode, status: string) => void)

Parameters

  • keyPath: string
  • callback: (node: DynaTreeNode, status: string) => void

public reactivate(setFocus: boolean)

Parameters

  • setFocus: boolean

public redraw()

public reload()

public renderInvisibleNodes()

public selectKey(key: string, flag: string): DynaTreeNode

Parameters

  • key: string
  • flag: string

Returns

DynaTreeNode

public serializeArray(stopOnParents: boolean): Array<any>

Parameters

  • stopOnParents: boolean

Returns

Array<any>

public toDict(includeRoot?: boolean): any

Parameters

  • includeRoot?: boolean optional

Returns

any

public visit(fn: (node: DynaTreeNode) => boolean, includeRoot: boolean)

Parameters

  • fn: (node: DynaTreeNode) => boolean
  • includeRoot: boolean