{"name":"ctData","operator":null,"title":"ctData","type":"command","url":"https://community.bistudio.com/wiki/ctData","revid":309082,"updated":"2022-04-30T15:25:34Z","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":"Returns metadata associated with a particular row of a CT_CONTROLS_TABLE control.","syntaxes":[{"syntax":"ctrl ctData row","since":null,"effect":null,"exec":null,"params":[{"name":"ctrl","type":"Control","optional":false,"default":null,"description":"the respective control","types":["Control"],"since":null,"text":"ctrl: Control - the respective control"},{"name":"row","type":"Number","optional":false,"default":null,"description":"the row index","types":["Number"],"since":null,"text":"row: Number - the row index"}],"returns":{"type":"String","types":["String"],"description":null,"text":"String"},"form":"binary","operator":null,"left":{"text":"ctrl","types":["Control"]},"right":{"text":"row","types":["Number"]}}],"examples":[{"text":"```sqf\nprivate _data = _ctrl ctData 0;\n```","code":["private _data = _ctrl ctData 0;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["ctAddRow","ctAddHeader","ctClear","ctCurSel","ctSetCurSel","ctRowControls","ctHeaderControls","ctRowCount","ctHeaderCount","ctSetValue","ctValue","ctSetData","ctFindRowHeader","ctFindHeaderRows","ctRemoveRows","ctRemoveHeaders","ctSetRowTemplate","ctSetHeaderTemplate"],"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"]}