Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
DynaTreeNode
Interface DynaTreeNode
Index
Properties
data
Methods
activate
activateSilently
addChild
appendAjax
countChildren
deactivate
expand
focus
getChildren
getEventTargetType
getLevel
getNextSibling
getParent
getPrevSibling
hasChildren
isActive
isChildOf
isDescendantOf
isExpanded
isFirstSibling
isFocused
isLastSibling
isLazy
isLoading
isSelected
isStatusNode
isVisible
makeVisible
move
reload
reloadChildren
remove
removeChildren
render
resetLazy
scheduleAction
select
setLazyNodeStatus
setTitle
sortChildren
toDict
toggleExpand
toggleSelect
visit
visitParents
Properties
public
data
:
DynaTreeDataModel
Methods
public
activate
(
)
public
activateSilently
(
)
public
addChild
(
nodeData
:
DynaTreeDataModel
, beforeNode
?:
DynaTreeNode
)
Parameters
nodeData:
DynaTreeDataModel
beforeNode?:
DynaTreeNode
optional
public
addChild
(
nodeData
:
DynaTreeDataModel
[]
, beforeNode
?:
DynaTreeNode
)
Parameters
nodeData:
DynaTreeDataModel
[]
beforeNode?:
DynaTreeNode
optional
public
appendAjax
(
ajaxOptions
:
JQueryAjaxSettings
)
Parameters
ajaxOptions:
JQueryAjaxSettings
public
countChildren
(
)
:
number
Returns
number
public
deactivate
(
)
public
expand
(
flag
:
string
)
Parameters
flag:
string
public
focus
(
)
public
getChildren
(
)
:
DynaTreeNode
[]
Returns
DynaTreeNode
[]
public
getEventTargetType
(
event
:
Event
)
:
string
Parameters
event:
Event
Returns
string
public
getLevel
(
)
:
number
Returns
number
public
getNextSibling
(
)
:
DynaTreeNode
Returns
DynaTreeNode
public
getParent
(
)
:
DynaTreeNode
Returns
DynaTreeNode
public
getPrevSibling
(
)
:
DynaTreeNode
Returns
DynaTreeNode
public
hasChildren
(
)
:
boolean
Returns
boolean
public
isActive
(
)
:
boolean
Returns
boolean
public
isChildOf
(
otherNode
:
DynaTreeNode
)
:
boolean
Parameters
otherNode:
DynaTreeNode
Returns
boolean
public
isDescendantOf
(
otherNode
:
DynaTreeNode
)
:
boolean
Parameters
otherNode:
DynaTreeNode
Returns
boolean
public
isExpanded
(
)
:
boolean
Returns
boolean
public
isFirstSibling
(
)
:
boolean
Returns
boolean
public
isFocused
(
)
:
boolean
Returns
boolean
public
isLastSibling
(
)
:
boolean
Returns
boolean
public
isLazy
(
)
:
boolean
Returns
boolean
public
isLoading
(
)
:
boolean
Returns
boolean
public
isSelected
(
)
:
boolean
Returns
boolean
public
isStatusNode
(
)
:
boolean
Returns
boolean
public
isVisible
(
)
:
boolean
Returns
boolean
public
makeVisible
(
)
:
boolean
Returns
boolean
public
move
(
targetNode
:
DynaTreeNode
, mode
:
string
)
:
boolean
Parameters
targetNode:
DynaTreeNode
mode:
string
Returns
boolean
public
reload
(
force
:
boolean
)
Parameters
force:
boolean
public
reloadChildren
(
callback
?:
(node: DynaTreeNode, isOk: boolean) => any
)
Parameters
callback?:
(node: DynaTreeNode, isOk: boolean) => any
optional
public
remove
(
)
public
removeChildren
(
)
public
render
(
useEffects
:
boolean
, includeInvisible
:
boolean
)
Parameters
useEffects:
boolean
includeInvisible:
boolean
public
resetLazy
(
)
public
scheduleAction
(
mode
:
string
, ms
:
number
)
:
any
Parameters
mode:
string
ms:
number
Returns
any
public
select
(
flag
:
string
)
Parameters
flag:
string
public
setLazyNodeStatus
(
status
:
number
)
Parameters
status:
number
public
setTitle
(
title
:
string
)
Parameters
title:
string
public
sortChildren
(
cmp
?:
(a: DynaTreeNode, b: DynaTreeNode) => number
, deep
?:
boolean
)
:
any
Parameters
cmp?:
(a: DynaTreeNode, b: DynaTreeNode) => number
optional
deep?:
boolean
optional
Returns
any
public
toDict
(
recursive
:
boolean
, callback
?:
(node: any) => any
)
:
any
Parameters
recursive:
boolean
callback?:
(node: any) => any
optional
Returns
any
public
toggleExpand
(
)
public
toggleSelect
(
)
public
visit
(
fn
:
(node: DynaTreeNode) => boolean
, includeSelf
:
boolean
)
Parameters
fn:
(node: DynaTreeNode) => boolean
includeSelf:
boolean
public
visitParents
(
fn
:
(node: DynaTreeNode) => boolean
, includeSelf
:
boolean
)
Parameters
fn:
(node: DynaTreeNode) => boolean
includeSelf:
boolean
Globals
JQueryUI
jquery