Garry's Mod Wiki

DGrid:SortByMember

DGrid:SortByMember

  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.

Special Pages


Wikis

?

Render Time: 60ms

DB GetPage 42
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 7