"addColumn";

Adds a column to a tree widget.

Synopsis

shape.addColumn(string column);

Parameters

Parameter Description
shape Name of the object
column The name of the column that is added to the tree.

Description

Adds a column to a tree widget.

Example

In the following example two columns are added to the tree widget.s

main()
{
  TREE1.addColumn("NAME");
  TREE1.addColumn("SURNAME");
}      
Figure 1. Two Columns were added to the Tree Widget

Assignment

Tree widget