# NxTreeNode

Represents a dimension in the tree.

Information note**STABLE.**  
This API is reliable and breaking changes are unlikely.

## Properties

| Name | Description | Type |
| --- | --- | --- |
| qText | The text version of the value, if available. | String |
| qValue | Value of the cell.<br>Is set to *NaN* , if the value is not a number. | Number (double) |
| qElemNo | Element number. | Integer |
| qGroupPos | The position of this node inside it's group in the complete tree, i.e. Not dependant om what part is fetched. | Integer |
| qGroupSize | Nbr of nodes connected to this node on the next level of the tree. Not dependant on what part is fetched. | Integer |
| qRow | Row index in the data matrix.<br>The indexing starts from 0. | Integer |
| qType | Type of the cell.<br><br>One of:<br><br><ul><li>V or NX_DIM_CELL_VALUE</li><li>E or NX_DIM_CELL_EMPTY</li><li>N or NX_DIM_CELL_NORMAL</li><li>T or NX_DIM_CELL_TOTAL</li><li>O or NX_DIM_CELL_OTHER</li><li>A or NX_DIM_CELL_AGGR</li><li>P or NX_DIM_CELL_PSEUDO</li><li>R or NX_DIM_CELL_ROOT</li><li>U or NX_DIM_CELL_NULL</li><li>G or NX_DIM_CELL_GENERATED</li></ul> | String |
| qValues | The measures for this node. | Array of [NxTreeValue](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/models-nxtreevalue.htm) |
| qNodes | The children of this node in the fetched tree structure. | Array of [NxTreeNode](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/models-nxtreenode.htm) |
| qAttrExps |  | [NxAttributeExpressionValues](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/models-nxattributeexpressionvalues.htm) |
| qAttrDims |  | [NxAttributeDimValues](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/models-nxattributedimvalues.htm) |
| qMaxPos | Total of the positive values in the current group of cells. | Array of Number |
| qMinNeg | Total of the negative values in the current group of cells. | Array of Number |
| qCanExpand | If set to true, it means that the cell can be expanded.<br>This parameter is not returned if it is set to false. | Boolean |
| qCanCollapse | If set to true, it means that the cell can be collapsed.<br>This parameter is not returned if it is set to false. | Boolean |
| qState | Selection State of the value.<br>The default state for a measure is L(Locked).<br><br>One of:<br><br><ul><li>L or LOCKED</li><li>S or SELECTED</li><li>O or OPTION</li><li>D or DESELECTED</li><li>A or ALTERNATIVE</li><li>X or EXCLUDED</li><li>XS or EXCL_SELECTED</li><li>XL or EXCL_LOCKED</li><li>NSTATES</li></ul> | String |
| qTreePath | The GroupPos of all prior nodes connected to this one, one position for each level of the tree.<br>If this node is attached directly to the root, this array is empty. | Array of Integer |