GuiGridListSetSortingEnabled

From Multi Theft Auto: Wiki
Revision as of 16:52, 9 October 2007 by Talidan (talk | contribs)
Jump to navigation Jump to search

This function allows the disabling or enabling of sorting within a gridlist. Sorting is achieved by clicking a column header. Gridlist items will be sorted according to the clicked column. By default, gridlists have sorting enabled. This function will allow you to toggle this.

Syntax

bool guiGridListSetSortingEnabled ( element guiGridlist, bool enabled )

Required Arguments

  • guiGridlist: The GUI gridlist you wish to toggle the sorting of.
  • enabled: A boolean representing whether the sorting is enabled, or disabled.

Returns

Returns true if sorting was successfully toggled., false otherwise.

Example

This page lacks an example

--add an example here.

See Also

General functions

Browsers

Buttons

Checkboxes

Comboboxes

Edit Boxes

Gridlists

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows