ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. guiGridListSortByColumn

Function

guiGridListSortByColumn

ClientInterface (GUI)Trilogy Hub only

Sorts the list by a column. Numbers are compared as numbers, the rest as text. Clears the selection.

Syntax

bool guiGridListSortByColumn(gui-gridlist gridList, int columnIndex [, bool descending = false])

Arguments

gridListgui-gridlist
The list.
columnIndexint
Column (from 1).
descendingbool, optional = false
Descending.

Returns

true on success.

Example

guiGridListSortByColumn(list, 2, true)