"removeColumn"

Removes a column of a tree widget.

Synopsis

shape.removeColumn(int idx);

Parameters

Parameter Description
shape The name of the object
idx The index of the column (starts from 0)

Description

Removes a column of a tree widget.

Example

In the following example, the first column of a tree widget will be removed.

main()
{
    TREE1.removeColumn(0);
}

After removing a column with removeColumn a regrouping of the columns is performed, i.e. if e.g. column 0 is removed, column 0 takes the position and gets column 0 and so forth.

Assignment

Tree widget