RTreeView.AddColumn


public function AddColumn

Prototype:

public function AddColumn(column_name, visible)

Parameters

column_name
the caption of the column
visible
how will be rendered. Must be one of this values :HIDDEN_COLUMN | NORMAL_COLUMN |PERCENT_COLUMN | CHECK_COLUMN | RADIO_COLUMN | IMAGE_COLUMN | COMBO_COLUMN; If is set to NORMAL_COLUMN, then you can apply the EDITABLE_COLUMN (if you want your column to be editable by the user) mask by using the "|" operator like in the example.

Description:

This function will add columns to a view.

Return value:

Returns the result of the Send method (not to be considered important).

Example
	TreeList.AddColumn("Edit me !", NORMAL_COLUMN | EDITABLE_COLUMN);
	TreeList.AddColumn("Don't edit me", NORMAL_COLUMN);
	TreeList.AddColumn("Progress bar", PROGRESS_COLUMN);