Skip to main content

TreeQueryMethodType

How the tree is traversed from the anchor nodes.

stringTreeQueryMethodType (string)

How the tree is traversed from the anchor nodes.

Enum ValueDescription
NODEWithout anchors, the root nodes; with anchors, the anchor nodes themselves (on the custom tree, only with includeSelected true).
NODE_CHILDThe direct children of each anchor.
NODE_PARENTSThe nodes matching text and the anchors, plus their ancestors (survey trees: up to 6 levels; custom tree: no limit).
NODE_HIERARCHYAll descendants of each anchor (survey trees: up to 6 levels).
NODE_FULL_HIERARCHYAncestors and descendants of each anchor. Not supported by the custom tree.
ALLEvery node that passes the filters. In the survey trees it takes no anchors.

Possible values: [NODE, NODE_CHILD, NODE_PARENTS, NODE_HIERARCHY, NODE_FULL_HIERARCHY, ALL]

TreeQueryMethodType
"NODE"