PP.Ui.TreeColumn (settings);
settings. The JSON object that contains values of the component properties.
The TreeColumn constructor creates an instance of the TreeColumn class.
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: