ctRemoveHeaders: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 8: Line 8:
|gr1= GUI Control - Controls Table
|gr1= GUI Control - Controls Table


| Takes array of header indices as a parameter and removes headers with those indices. Indices of remaining headers will be recomputed.
|descr= Takes array of header indices as a parameter and removes headers with those indices. Indices of remaining headers will be recomputed.


|s1=  ctrl '''ctRemoveHeaders''' indices
|s1=  ctrl '''ctRemoveHeaders''' indices

Revision as of 21:01, 13 June 2021

Hover & click on the images for description

Description

Description:
Takes array of header indices as a parameter and removes headers with those indices. Indices of remaining headers will be recomputed.
Groups:
GUI Control - Controls Table

Syntax

Syntax:
ctrl ctRemoveHeaders indices
Parameters:
ctrl: Control
indices: Array
Return Value:
Nothing

Examples

Example 1:
_control ctRemoveHeaders [0, 1, 2];

Additional Information

See also:
ctAddRowctAddHeaderctClearctCurSelctSetCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetValuectValuectSetDatactDatactFindRowHeaderctFindHeaderRowsctRemoveRowsctSetRowTemplatectSetHeaderTemplate

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note