{"name":"ctSetHeaderTemplate","operator":null,"title":"ctSetHeaderTemplate","type":"command","url":"https://community.bistudio.com/wiki/ctSetHeaderTemplate","revid":310130,"updated":"2022-05-05T12:25:42Z","groups":["GUI Control - Controls Table"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.70"}],"since":{"game":"arma3","name":"Arma 3","version":"1.70"},"arma3_since":"1.70","branch":null,"locality":{"argument":"local","effect":"local","server_exec":false},"exec":null,"description":"Takes config path to the new header template. Clears the whole RscControlsTable and sets the new header template.","syntaxes":[{"syntax":"control ctSetHeaderTemplate config","since":null,"effect":null,"exec":null,"params":[{"name":"control","type":"Control","optional":false,"default":null,"description":null,"types":["Control"],"since":null,"text":"control: Control"},{"name":"config","type":"Config","optional":false,"default":null,"description":null,"types":["Config"],"since":null,"text":"config: Config"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"control","types":["Control"]},"right":{"text":"config","types":["Config"]}}],"examples":[{"text":"```sqf\n_control ctSetHeaderTemplate _configPath;\n```","code":["_control ctSetHeaderTemplate _configPath;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["ctAddRow","ctAddHeader","ctClear","ctCurSel","ctRowControls","ctHeaderControls","ctRowCount","ctHeaderCount","ctSetCurSel","ctValue","ctSetData","ctData","ctFindRowHeader","ctFindHeaderRows","ctRemoveRows","ctRemoveHeaders","ctSetRowTemplate"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: GUI Control - Controls Table","Introduced with Arma 3 version 1.70","Scripting Commands","Scripting Commands: Local Effect"]}