ctRemoveRows: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 106461 by krzmbrzl on 2018-04-06T11:10:47Z)
m (template:command argument fix)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Takes array of row indices as a parameter and removes rows with those indices. Indices of remaining rows will be recomputed. |= Description
| Takes array of row indices as a parameter and removes rows with those indices. Indices of remaining rows will be recomputed. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| ctrl '''ctRemoveRows''' indices |= Syntax
| ctrl '''ctRemoveRows''' indices |SYNTAX=


|p1= ctrl: [[Control]] |= Parameter 1
|p1= ctrl: [[Control]] |PARAMETER1=
|p2= indices: [[Number]] |= Parameter 2
|p2= indices: [[Number]] |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=


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


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[ctCurSel]], [[ctSetCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetValue]], [[ctValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]] |= See also
| [[ctAddRow]], [[ctAddHeader]], [[ctClear]], [[ctCurSel]], [[ctSetCurSel]], [[ctRowControls]], [[ctHeaderControls]], [[ctRowCount]], [[ctHeaderCount]], [[ctSetValue]], [[ctValue]], [[ctSetData]], [[ctData]], [[ctFindRowHeader]], [[ctFindHeaderRows]], [[ctRemoveHeaders]], [[ctSetRowTemplate]], [[ctSetHeaderTemplate]] |SEEALSO=


}}
}}

Revision as of 14:36, 7 April 2019

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:
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