Arma 3 Scripting

Command in GUI Control - Controls Table

ctAddHeader

Also available as Markdown and JSON, or read the original wiki page.

Description

Adds a header line of controls according to the HeaderTemplate class. Note that rows and headers are indexed separately.

Syntax

ctAddHeader control

Parameters:

Returns: Array with [headerIndex, createdControls]

Examples

Example 1

private _array = ctAddHeader _control;

See also

ctAddRow · ctClear · ctCurSel · ctSetCurSel · ctRowControls · ctHeaderControls · ctRowCount · ctHeaderCount · ctSetValue · ctValue · ctSetData · ctData · ctFindRowHeader · ctFindHeaderRows · ctRemoveRows · ctRemoveHeaders · ctSetRowTemplate · ctSetHeaderTemplate