Beta Documentation - Subject to change.

Sets a function that is used to sort tree elements. This function needs to enforce consistent ordering or there is a potential for a client crash.

Syntax

Lua
function TreeView:SetSortMethod(value);

Parameters

value
Type: Object
The function to sort tree elements.

Remarks

See Also