TreeNode.ColumnText

Syntax

ColumnText: String

Description

The ColumnText property sets contents of node for a specified column.

Comments

Property value is set using the setColumnText (column, value) method with the following parameters:

Property value is set using the getColumnText (column) method, with the column parameter - index of the column whose numbering starts with zero.

Example

To execute this example, the page must contain the TreeList component named treeListSett (see Example of Creating the TreeList Component). Set contents for the second column of the tree second node:

treeListSett.getNodeByIndex(1).setColumnText(1, "New column text");

 

After executing the example the following text is added for the second column of the Africa node: New column text (in red in the figure below):

 

See also:

TreeNode