DGrid/SortByMember

From Garry's Mod
Jump to: navigation, search
 DGrid:SortByMember( )

DescriptionPanelFunc

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

Arguments

string key

A key in the panel from DGrid:GetItems. The key's value must be numeric.

Arguments

boolean desc=true

True for descending order, false for ascending.
Personal tools
Navigation