TreeColumn Constructor

Syntax

PP.Ui.TreeColumn (settings);

Parameters

settings. The JSON object that contains values of the component properties.

Description

The TreeColumn constructor creates an instance of the TreeColumn class.

Example

To execute this example, create a TreeList component named treeList as shown in description of the TreeNode constructor. Set the Population column for the component; this column is shown on the second position in the column collection:

var columns = treeList.getColumns();

var column = new PP.Ui.TreeColumn({Caption: "Population", Width: 100, MinWidth: 50, Visible: true});

columns.setItem(column, 1);

After executing the example a new column is set for the TreeList component.

See also:

TreeColumn