Garry's Mod Wiki

Garry's Mod Wiki

  DGrid:SortByMember( string key, boolean desc = true )

Description

Sorts the items in the grid. Does not visually update the grid, use Panel:InvalidateLayout for that.

Arguments

1 string key
A key in the panel from DGrid:GetItems. The key's value must be numeric.
2 boolean desc = true
True for descending order, false for ascending.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...