{"name":"ctRemoveHeaders","title":"ctRemoveHeaders","type":"command","url":"https://community.bistudio.com/wiki/ctRemoveHeaders","revid":377178,"updated":"2026-01-01T10:47:51Z","groups":["GUI Control - Controls Table"],"status":"ok","games":{"arma3":"1.70"},"since":"arma3 1.70","arma3_since":"1.70","locality":{"argument":"local","effect":"local"},"description":"Takes array of header indices as a parameter and removes headers with those indices. Indices of remaining headers will be recomputed.","syntaxes":[{"syntax":"ctrl ctRemoveHeaders indices","params":[{"name":"ctrl","type":"Control","type_expr":"Control"},{"name":"indices","type":"Array of Numbers","type_expr":"Array<Number>"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"ctrl"},"right":{"text":"indices"}}],"examples":[{"code":["_control ctRemoveHeaders [0, 1, 2];"]}],"see_also":["ctAddRow","ctAddHeader","ctClear","ctCurSel","ctSetCurSel","ctRowControls","ctHeaderControls","ctRowCount","ctHeaderCount","ctSetValue","ctValue","ctSetData","ctData","ctFindRowHeader","ctFindHeaderRows","ctRemoveRows","ctSetRowTemplate","ctSetHeaderTemplate"]}