tvSortByValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
m (Text replacement - " {{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}} " to "")
Line 39: Line 39:
| [[tvSortAll]] [[tvSort]] [[tvSortByValueAll]]
| [[tvSortAll]] [[tvSort]] [[tvSortByValueAll]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<!-- CONTINUE Notes -->
<!-- CONTINUE Notes -->

Revision as of 15:31, 15 February 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:
See also needed

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