_thingTree
Display a tree node, which will invoke the specified QL code to get its children --
Function
Thing Type -> _thingTree
(text, children, id, icon, opened) -> Value has not been set
- Receives -- Thing Type
- One or more Things to display as equal nodes in a tree
- text (optional)
- The text to display for this node. If omitted, will be shown as a link to this Thing as usual.
- children (optional)
- A QL expression that produces the children of this node, which should be more _QLTrees. If empty, this node is a leaf.
- id (optional)
- The jsTree id to use for this node.
- icon (optional)
- The icon to display for this node. If not specified, no icon will be shown.
- opened (optional)
- If set to True, children of this node will be displayed immediately.
- Produces
- The tree, or a child node under a higher-level tree