Arma 3 Scripting

Command in GUI Control - Tree View

tvSort

Also available as Markdown and JSON, or read the original wiki page.

Description

Sorts all children of given path. Text of Tree View entries is used for sorting.

Syntax

Syntax 1

control tvSort [path, reversed]

Parameters:

Returns: Nothing

Syntax 2

tvSort [idc, path, reversed]

Parameters:

Returns: Nothing

Examples

Example 1

control tvSort [[0], true];

Example 2

tvSort [102, [0], true];

See also

lbSortBy · lnbSortBy · tvSortAll · tvSortByValue · tvSortByValueAll