tvSortByValue

From Bohemia Interactive Community
Revision as of 11:28, 13 May 2022 by Lou Montana (talk | contribs) (Text replacement - "<code>([^<]*)<nowiki\/?>([^<]*)<\/code>" to "<code>$1$2</code>")
Jump to navigation Jump to search

{{RV|type=command

|game1= arma3 |version1= 0.74

|gr1= GUI Control - Tree View

|descr= 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.

|s1= control tvSortByValue [path, ascending]

|p1= control: Control

|p2= [path, reversed]: Array

|p3= path: Array - Tree View Path of the parent item to sort

|p4= ascending (Optional): Boolean - true to sort ascending, else descending. Default: false

|r1= Nothing

|s2=tvSortByValue [idc, path, ascending]

|p21= [idc, path, reversed]: Array

|p22= idc: Number - control idc

|p23= path: Array - Tree View Path of the parent item to sort

|p24= ascending (Optional): Boolean - true to sort ascending, else descending. Default: false

|r2= Nothing

|x1= control tvSortByValue [[0], false];

|x2=

tvSortByValue [102, [0], false];

|seealso= lbSortBy lnbSortBy tvSortAll tvSort tvSortByValueAll }}