tvSort: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (al & el)
(syntax & example)
Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''tvSort''' [idc, [path], reversed] |= Syntax
| _ctrl [[tvSort]] [ [path], reversed] |= Syntax


|p1= [idc, [path], reversed]: [[Array]] |= PARAMETER1  
| p1= _ctrl: [[Control]] |= PARAMETER1  


|p2= idc: [[Number]] |= PARAMETER2
| p2= [ [path], reversed]: [[Array]] |= PARAMETER2
 
|p3= [path]: [[Array]] - Array containing numbers. |= PARAMETER3
 
|p4= reversed: [[Boolean]] - optional |= PARAMETER4


| [[Nothing]] |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  




|x1= <code>[[tvSort]] [101, [0], [[false]]<nowiki>]</nowiki>;</code> |= Example 1
|x1= <code>_ctrl [[tvSort]] [ [], [[false]]<nowiki>]</nowiki>;</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 09:21, 11 September 2014

Hover & click on the images for description

Description

Description:
Sorts childrens of given item by data. IDC means id of parent Tree View.
Param reversed is optional.
Groups:
Uncategorised

Syntax

Syntax:
_ctrl tvSort [ [path], reversed]
Parameters:
_ctrl: Control
[ [path], reversed]: Array
Return Value:
Nothing

Examples

Example 1:
_ctrl tvSort [ [], false];

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSortByValuetvTexttvValue

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

Notes

Bottom Section