tvSortByValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - " <!-- (DIS)?CONTINUE Notes -->" to "")
Line 39: Line 39:
|seealso= [[tvSortAll]] [[tvSort]] [[tvSortByValueAll]]
|seealso= [[tvSortAll]] [[tvSort]] [[tvSortByValueAll]]
}}
}}
<!-- CONTINUE Notes -->

Revision as of 01:53, 6 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - Tree View

Syntax

Syntax:
Syntax needed
Parameters:
control: Control
[path, reversed]: Array
path: Array - Tree View Path of the parent item to sort
reversed (Optional): Boolean - true to reverse sort it. Default: false
Return Value:
Return value needed

Alternative Syntax

Syntax:
tvSortByValue [idc, path, reversed]
Parameters:
[idc, path, reversed]: Array
idc: Number - control idc
path: Array - Tree View Path of the parent item to sort
reversed (Optional): Boolean - true to reverse sort it. Default: false
Return Value:
Nothing

Examples

Example 1:
control tvSortByValue [[0], false];
Example 2:
tvSortByValue [102, [0], false];

Additional Information

See also:
tvSortAll tvSort tvSortByValueAll

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note