Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 30ms

DB GetPage 3
Generate Html 4
SaveChanges (1) 9
Render Body 0
Render Sidebar 12