Other data is passed to node.data
and can be accessed via node.data.NAME
Optional
Internal
_treeOptional
checkboxDefines if the selected
state is displayed as checkbox, radio button,
or hidden.
Defaults to WunderbaumOptions.checkbox.
Optional
childrenOptional list of child nodes.
If children
is an empty array, the node is considered a leaf.
If lazy
is true and `children is undefined or null, the node, is
considered unloaded. Otherwise, the node is considered a leaf.
Optional
classesAdditional classes that are added to <div class='wb-row'>
.
Optional
colspanOnly show title in a single, merged column.
Optional
expandedExpand this node.
Optional
iconDefaults to standard icons (doc, folder, folderOpen, ...) from WunderbaumOptions.iconMap. Can be overridden by WunderbaumOptions.icon.
Optional
iconTooltip for the node icon only. Defaults to WunderbaumOptions.iconTooltip.
Optional
keyThe node's key. Must be unique for the whole tree. Defaults to a sequence number.
Optional
lazyIf true (and children are undefined or null), the node is considered lazy and WunderbaumOptions.lazyLoad is called when expanded.
Optional
radiogroupMake child nodes single-select radio buttons.
Optional
refNode's reference key. Unlike WunderbaumNode.key, this value may be non-unique. Nodes within the tree that share the same refKey are considered clones.
Optional
selectedThe node's selection status, typically displayed as a checkbox.
Optional
statusThe node's status, typically displayed as merged single row.
The node's title. Will be html escaped to prevent XSS.
Optional
tooltipPass true to set node tooltip to the node's title. Defaults to WunderbaumOptions.tooltip.
Optional
typeInherit shared settings from the matching entry in InitWunderbaumOptions.types
.
Optional
unselectableSet to true
to prevent selection. Defaults to WunderbaumOptions.unselectable.
A plain object (dictionary) that represents a node instance.