Constants: RF: jsTree

Parent: $root.$constants

kJSTreeActionAddUse with $nodeaction.Adds child nodes.Extra parameters are posn,nodes (posn:child node ident after which children are added (-1 for at start,0 for at end);nodes:a node content list (see $nodedata))
kJSTreeActionCollapseUse with $nodeaction.Collapses the node if necessary.No action-specific parameters
kJSTreeActionCollapseAndDiscardUse with $nodeaction.Collapses the node if necessary, and discards all child nodes.No action-specific parameters
kJSTreeActionDeleteUse with $nodeaction.Deletes a node (and its children)
kJSTreeActionExpandUse with $nodeaction.Expands the node if necessary.No action-specific parameters
kJSTreeActionMoveUse with $nodeaction.Moves node to new position.Extra parameters are parentIdent,posn (parentIdent:new parent node (0 for root); posn:child node ident after which node is positioned (-1 for at start,0 for at end))
kJSTreeActionReloadUse with $nodeaction.Reloads the node, generating an evLoadNode event.No action-specific parameters
kJSTreeActionRenameUse with $nodeaction.Renames a node.Extra parameter is the new text for the node
kJSTreeActionUpdateIconUse with $nodeaction.Updates the icon of a node.Extra parameter is the line number in the list identified by $nodeiconlist, or zero for no icon
kJSTreeDynamicLoadCannot be used with $multipleselect set to true.$dataname only specifies the initial content of the tree.Further content can be attached to a node by setting $nodedata when processing evLoadNode
kJSTreeFlagDiscardOnCollapseSet this flag to discard the node contents when the node is collapsed
kJSTreeFlagEnterableSet this flag to make the node name enterable
kJSTreeFlagExpandedSet this flag to make the node immediately expanded.If set,the children column of the node content list must be populated with any children
kJSTreeFlagHasChildrenIgnored if the kJSTreeFlagExpanded flag is set.Otherwise,if set,the node has children and evLoadNode will be generated (if set in $events) to allow the children to be populated using $nodedata
kJSTreeFlatListThe first N columns represent a node in a tree of depth N.The last 5 columns are node properties:iconurl,ident(int),expanded(bool),textcolor(zero means $textcolor),tooltip
kJSTreeFlatListOldA list with the same structure as the plugin client tree kTreeDataFlatList
kJSTreeFlatListOldWithTagsA list compatible with the plugin client kTreeDataFlatListWithTags
kJSTreeFlatListWithTagsThe first N columns represent a node in a tree of depth N.The last 7 columns are node properties:iconurl,ident(int),expanded(bool),textcolor(zero means $textcolor),tooltip,tag(char),enterable(bool)