Parent: $root.$constants
kJSTreeActionAdd | Use 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)) |
kJSTreeActionCollapse | Use with $nodeaction.Collapses the node if necessary.No action-specific parameters |
kJSTreeActionCollapseAndDiscard | Use with $nodeaction.Collapses the node if necessary, and discards all child nodes.No action-specific parameters |
kJSTreeActionDelete | Use with $nodeaction.Deletes a node (and its children) |
kJSTreeActionExpand | Use with $nodeaction.Expands the node if necessary.No action-specific parameters |
kJSTreeActionMove | Use 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)) |
kJSTreeActionReload | Use with $nodeaction.Reloads the node, generating an evLoadNode event.No action-specific parameters |
kJSTreeActionRename | Use with $nodeaction.Renames a node.Extra parameter is the new text for the node |
kJSTreeActionUpdateIcon | Use 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 |
kJSTreeDynamicLoad | Cannot 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 |
kJSTreeFlagDiscardOnCollapse | Set this flag to discard the node contents when the node is collapsed |
kJSTreeFlagEnterable | Set this flag to make the node name enterable |
kJSTreeFlagExpanded | Set this flag to make the node immediately expanded.If set,the children column of the node content list must be populated with any children |
kJSTreeFlagHasChildren | Ignored 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 |
kJSTreeFlatList | The 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 |
kJSTreeFlatListOld | A list with the same structure as the plugin client tree kTreeDataFlatList |
kJSTreeFlatListOldWithTags | A list compatible with the plugin client kTreeDataFlatListWithTags |
kJSTreeFlatListWithTags | The 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) |