TreeListBase.NodeContent

Syntax

NodeContent: Array of String;

Description

The NodeContent property determines node contents.

Comments

Use the setNodeContent(nodeKey, value) method to set the property value, and the getNodeContent(nodeKey) method to get the property value.

Parameters:

nodeKey. String. Node key

value. Array of String. Value.

Example

Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).

// Get node contents
Tree.getNodeContent(0);
// -> ["Node0", "Node0 - Col2"]

After executing the example the contents of the node with the 0 key is obtained.

See also:

TreeListBase