tvSort: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Version fixed.)
No edit summary
Line 27: Line 27:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 16:17, 10 August 2013

Hover & click on the images for description

Description

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

Syntax

Syntax:
tvSort [idc, [path], reversed]
Parameters:
[idc, [path], reversed]: Array
idc: Number
[path]: Array - Array containing numbers.
reversed: Boolean - optional
Return Value:
Nothing

Examples

Example 1:
tvSort [101, [0], 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