ctRemoveRows: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ |arma3dev |= Game |1.68|= Game Version |arg= local |= Argume...")
 
No edit summary
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Control]] '''ctRemoveRows''' [[Number]] |= Syntax
| [[Control]] '''ctRemoveRows''' [[Array]] |= Syntax


|p1= control: [[Control]] |= Parameter 1
|p1= control: [[Control]] |= Parameter 1
|p1= control: [[Number]] |= Parameter 2
|p2= indices: [[Number]] |= Parameter 2


| [[Number]] |= Return value
| [[Nothing]] |= Return value


____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_control [[ctRemoveRows]] 0;</code> |= Example 1
|x1= <code>_control [[ctRemoveRows]] [0, 1, 2];</code> |= Example 1


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 12:18, 21 February 2017

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.68|1.68]]
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:
Uncategorised

Syntax

Syntax:
Control ctRemoveRows Array
Parameters:
control: Control
indices: Number
Return Value:
Nothing

Examples

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

Additional Information

See also:
ctAddRowctAddHeaderctClearctCurSelctSetCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetValuectValuectSetDatactDatactFindRowHeaderctFindHeaderRowsctRemoveHeaderssetRowTemplatesetHeaderTemplate

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

[[Category:Introduced with arma3dev version 1.68]][[ Category: arma3dev: New Scripting Commands | CTREMOVEROWS]][[ Category: arma3dev: Scripting Commands | CTREMOVEROWS]]

Notes

Bottom Section