Arma 3 Scripting

tvSortByValue

  • Arma 3 v0.74

Command · Markdown · JSON · original wiki page

Description

Sorts all children of given path. Value of Tree View entries is used for sorting. tvSetValue can be used to set the value for a given path.

Syntax

Syntax 1

control tvSortByValue [path, ascending]

Parameters:

Returns: Nothing

Syntax 2

tvSortByValue [idc, path, ascending]

Parameters:

Returns: Nothing

Examples

Example 1

control tvSortByValue [[0], false];

Example 2

tvSortByValue [102, [0], false];

See also

lbSortBy · lnbSortBy · tvSortAll · tvSort · tvSortByValueAll