{"name":"ctSetValue","title":"ctSetValue","type":"command","url":"https://community.bistudio.com/wiki/ctSetValue","revid":310049,"updated":"2022-05-05T12:23:39Z","groups":["GUI Control - Controls Table"],"status":"ok","games":{"arma3":"1.70"},"since":"arma3 1.70","arma3_since":"1.70","description":"Associates metadata (number) with the row determined by the index. Returns Nothing.","syntaxes":[{"syntax":"control ctSetValue [index, value]","params":[{"name":"control","type":"Control","type_expr":"Control"},{"name":"index","type":"Number","type_expr":"Number"},{"name":"value","type":"Number","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"control"},"right":{"text":"[index, value]"}}],"examples":[{"code":["_control ctSetValue [0, 23];"]}],"see_also":["ctAddRow","ctAddHeader","ctClear","ctCurSel","ctRowControls","ctHeaderControls","ctRowCount","ctHeaderCount","ctSetCurSel","ctValue","ctSetData","ctData","ctFindRowHeader","ctFindHeaderRows","ctRemoveRows","ctRemoveHeaders","ctSetRowTemplate","ctSetHeaderTemplate"]}