Optional
childrenGets the children of this node, or undefined
if this node is a leaf node.
Gets the key for this hierarchy node. The key is guaranteed to be unique for the node among its siblings.
In many cases this will be the same as DataViewHierarchyNode.formattedValue or DataViewHierarchyNode.value. However there are cases when those values can contain duplicates. For instance when working with cube data, or when using formatters and display values.
They key is suitable to be used for identifying objects when implementing rendering transitions.
The key can be null when the corresponding DataViewHierarchyNode.value is null.
Optional
leafGets the index of the leaf node among all leaf nodes in the hierarchy. This is undefined for non leaf nodes.
Gets the level in the hierarchy where this node occurs. The root node of the hierarchy tree has level -1.
Optional
parentGets the parent of the hierarchy node, or undefined
for root level nodes.
Computes an array of all leaf nodes in the sub tree of the hierarchy spanned from this node.
Marks all DataViewRows corresponding to the sub tree of the hierarchy spanned from this node. See DataView.mark for more details.
Optional
operation: MarkingOperationThe marking operation.
Computes the number of marked DataViewRows in the sub tree of the hierarchy spanned from this node.
Computes the number of DataViewRows corresponding to the sub tree of the hierarchy spanned from this node.
Computes the DataViewRows corresponding to the sub tree of the hierarchy spanned from this node.
Gets the value of this node, or null if this node represents a missing or invalid data point.
The type of the returned value can be determined from the DataViewHierarchy.levels in the associated DataViewHierarchy.
Represents a node in a DataViewHierarchy.