Arma 3 Scripting

Command in GUI Control - Controls Table

ctRemoveRows

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

Description

Takes array of row indices as a parameter and removes rows with those indices. Indices of remaining rows will be recomputed.

Syntax

ctrl ctRemoveRows [index1, index2, ...]

Parameters:

Returns: Nothing

Examples

Example 1

_control ctRemoveRows [0, 1, 2];

See also

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

Community notes

7erra

If you want to remove a row by clicking on a button in the ControlsTable make sure that the code is scheduled. Otherwise the game will crash.