ctFindHeaderRows: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s1= +" to "|s1= ")
m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ")
Line 10: Line 10:
|descr= Takes index of a header as a parameter. Returns array of indices of rows under this header.
|descr= Takes index of a header as a parameter. Returns array of indices of rows under this header.


|s1= ctrl '''ctFindHeaderRows''' index
|s1= ctrl [[ctFindHeaderRows]] index


|p1= ctrl: [[Control]]
|p1= ctrl: [[Control]]

Revision as of 18:01, 20 June 2021

Hover & click on the images for description

Description

Description:
Takes index of a header as a parameter. Returns array of indices of rows under this header.
Groups:
GUI Control - Controls Table

Syntax

Syntax:
ctrl ctFindHeaderRows index
Parameters:
ctrl: Control
index: Number
Return Value:
Array

Examples

Example 1:
_array = _control ctFindHeaderRows 0;

Additional Information

See also:
ctAddRowctAddHeaderctClearctCurSelctSetCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetValuectValuectSetDatactDatactFindRowHeaderctRemoveRowsctRemoveHeadersctSetRowTemplatectSetHeaderTemplate

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