ctRemoveRows: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?]]" to "{{GameCategory|tkoh|Scripting Commands}}")
Line 44: Line 44:
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|arma3|New_Scripting_Commands_List}}
{{GameCategory|arma3|New_Scripting_Commands_List}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 05:11, 8 January 2021

Hover & click on the images for description

Description

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

Syntax

Syntax:
ctrl ctRemoveRows indices
Parameters:
ctrl: Control
indices: Number
Return Value:
Nothing

Examples

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

Additional Information

See also:
ctAddRowctAddHeaderctClearctCurSelctSetCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetValuectValuectSetDatactDatactFindRowHeaderctFindHeaderRowsctRemoveHeadersctSetRowTemplatectSetHeaderTemplate

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

Notes

Bottom Section


Posted on January 2, 2021 - 15:05 (UTC)
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.