tvSortByValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <!-- (DIS)?CONTINUE Notes -->" to "")
No edit summary
Line 37: Line 37:
|x2= <code>[[tvSortByValue]] [102, [0], [[false]]];</code>
|x2= <code>[[tvSortByValue]] [102, [0], [[false]]];</code>


|seealso= [[tvSortAll]] [[tvSort]] [[tvSortByValueAll]]
|seealso= [[lbSortBy]], [[lnbSortBy]], [[tvSortAll]] [[tvSort]] [[tvSortByValueAll]]
}}
}}

Revision as of 11:37, 16 May 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:
lbSortBylnbSortBytvSortAll 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