{"name":"tvExpand","title":"tvExpand","type":"command","url":"https://community.bistudio.com/wiki/tvExpand","revid":377800,"updated":"2026-01-03T04:01:32Z","groups":["GUI Control - Tree View"],"status":"ok","games":{"arma3":"0.74"},"since":"arma3 0.74","arma3_since":"0.74","locality":{"argument":"local","effect":"local"},"description":"Expands tree item pointed to by the path. IDC means id of parent Tree View.","syntaxes":[{"syntax":"tvExpand [idc, path]","params":[{"name":"idc","type":"Number","type_expr":"Number"},{"name":"path","type":"Tree View Path","description":"[] will expand the whole tree if it was collapsed previously with []","type_expr":"Tree View Path"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"[idc, path]"}},{"syntax":"control tvExpand path","params":[{"name":"control","type":"Control","type_expr":"Control"},{"name":"path","type":"Tree View Path","description":"[] will expand the whole tree if it was collapsed previously with []","type_expr":"Tree View Path"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"control"},"right":{"text":"path"}}],"examples":[{"code":["tvExpand [101, [0]];"]},{"code":["_ctrl tvExpand [1];"]}],"see_also":["tvExpandAll","tvAdd","tvClear","tvCollapse","tvCount","tvCurSel","tvData","tvDelete","tvPicture","tvSetCurSel","tvSetData","tvSetPicture","tvSetValue","tvSort","tvSortByValue","tvText","tvValue"]}