ctSetRowTemplate: 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 config path to the new row template. Clears the whole RscControlsTable and sets the new row template (Deleting all rows and headers is easier to implement than replacing the rows and filling them with new data. IDCs could overflow etc.).
|descr= Takes config path to the new row template. Clears the whole RscControlsTable and sets the new row template (Deleting all rows and headers is easier to implement than replacing the rows and filling them with new data. IDCs could overflow etc.).


|s1=  [[Control]] '''ctSetRowTemplate''' [[Config]]
|s1=  [[Control]] '''ctSetRowTemplate''' [[Config]]

Revision as of 20:58, 13 June 2021

Hover & click on the images for description

Description

Description:
Takes config path to the new row template. Clears the whole RscControlsTable and sets the new row template (Deleting all rows and headers is easier to implement than replacing the rows and filling them with new data. IDCs could overflow etc.).
Groups:
GUI Control - Controls Table

Syntax

Syntax:
Control ctSetRowTemplate Config
Parameters:
control: Control
config: Config
Return Value:
Nothing

Examples

Example 1:
_control ctSetRowTemplate _configPath;

Additional Information

See also:
ctAddRowctAddHeaderctClearctCurSelctRowControlsctHeaderControlsctRowCountctHeaderCountctSetCurSelctValuectSetDatactDatactFindRowHeaderctFindHeaderRowsctRemoveRowsctRemoveHeadersctSetHeaderTemplate

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