s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
TableHeader
chevron_left
Classes
class
TableHeader
Constructors
functions
TableHeader
Properties
data_object
DescendingFirst
data_object
Resizable
data_object
Sort
Methods
functions
SetProperty
functions
Tick
TableHeader
A heading cell. Given a Sandbox.UI.TableHeader.Sort key, pressing it sorts its Sandbox.UI.Table by it, and it shows which way when it's the one sorted by. In a resizable table, its edge can be dragged.
class
Sandbox.UI
.
account_tree
extends
TableCell
Sandbox.Engine
build
Constructors
1
TableHeader
(
)
data_object
Properties
3
DescendingFirst
bool
Sort highest first when first pressed, as you'd want for a count or a score.
sortfirst="descending"
.
Resizable
bool
Its edge can be dragged to resize its column, in a resizable table.
Sort
string
What pressing it sorts by - null for a plain heading.
functions
Methods
2
SetProperty
(
name
,
value
)
Tick
(
)
Inheritance
Panel
TableCell
TableHeader
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.