Arma 3 Scripting

Command in GUI Control - Controls Table

ctAddRow

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

Description

Adds one row of controls according to the RowTemplate class. It returns an array containing row index and array of created controls in a format [<rowIndex>, [<control0>, <control1>...<control n>]].

Note that rows and headers are indexed separately.

Syntax

ctAddRow control

Parameters:

Returns: Array

Examples

Example 1

_array = ctAddRow _control;

See also

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