# TreeData Class

Namespace: [Qlik.Engine](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.htm)  
Assembly: Qlik.Engine.dll

Renders the properties of a TreeData object. Is the layout for TreeDataDef.

For more information about the definition of TreeData, see `Generic object`.

## Inheritance

* System.Object
  * [AbstractStructure](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.htm)
    * TreeData

## Syntax

```
[ValueClass]
public class TreeData : AbstractStructure, IDisposable, ITreeData, IAbstractStructure
```

## Constructors

| Name | Description |
| --- | --- |
| [TreeData()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.TreeData.-ctor.htm#Qlik_Engine_TreeData__ctor) | Creates an instance of the TreeData class |

## Properties

| Name | Description |
| --- | --- |
| [CalcCondMsg](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.TreeData.CalcCondMsg.htm#Qlik_Engine_TreeData_CalcCondMsg) | The message displayed if calculation condition is not fulfilled.<br><br>JSON property name: qCalcCondMsg |
| [DimensionInfo](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.TreeData.DimensionInfo.htm#Qlik_Engine_TreeData_DimensionInfo) | Information on the dimension.<br><br>JSON property name: qDimensionInfo |
| [EffectiveInterColumnSortOrder](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.TreeData.EffectiveInterColumnSortOrder.htm#Qlik_Engine_TreeData_EffectiveInterColumnSortOrder) | Defines the order of the dimenion levels/columns in the TreeData object.<br><br>Column numbers are separated by a comma.<br><br>Example: [1,0,2] means that the first level in the tree structure is dimension 1, followed by dimension 0 and dimension 2.<br><br>JSON property name: qEffectiveInterColumnSortOrder |
| [Error](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.TreeData.Error.htm#Qlik_Engine_TreeData_Error) | This parameter is optional and is displayed in case of error.<br><br>JSON property name: qError |
| [HasOtherValues](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.TreeData.HasOtherValues.htm#Qlik_Engine_TreeData_HasOtherValues) | True if other row exists.<br><br>JSON property name: qHasOtherValues |
| [LastExpandedPos](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.TreeData.LastExpandedPos.htm#Qlik_Engine_TreeData_LastExpandedPos) | Position of the last expended cell.<br><br>This property is optional.<br><br>JSON property name: qLastExpandedPos |
| [MeasureInfo](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.TreeData.MeasureInfo.htm#Qlik_Engine_TreeData_MeasureInfo) | Information on the measures calculated on the whole tree.<br><br>JSON property name: qMeasureInfo |
| [NodesOnDim](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.TreeData.NodesOnDim.htm#Qlik_Engine_TreeData_NodesOnDim) | The total number of nodes on each dimension.<br><br>JSON property name: qNodesOnDim |
| [StateName](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.TreeData.StateName.htm#Qlik_Engine_TreeData_StateName) | Name of the alternate state.<br><br>Default is current selections `$` .<br><br>JSON property name: qStateName |
| [Title](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.TreeData.Title.htm#Qlik_Engine_TreeData_Title) | Title of the TreeData object, for example the title of a chart.<br><br>JSON property name: qTitle |
| [TreeDataPages](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.TreeData.TreeDataPages.htm#Qlik_Engine_TreeData_TreeDataPages) | Set of data.<br><br>Is empty if nothing has been defined in **qInitialDataFetch** in `TreeDataDef`.<br><br>JSON property name: qTreeDataPages |