enum class fwt::SortMode
sys::Obj sys::Enum fwt::SortMode
@Js
@Serializable { simple=true }
Enum for Table.sortMode
.
- down
-
const static SortMode down := ...
Sort descending from largest to smallest
- fromStr
-
static new fromStr(Str name, Bool checked := true)
Return the SortMode instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- toggle
-
SortMode toggle()
If up then return down; if down return up.
- up
-
const static SortMode up := ...
Sort ascending from smallest to largest
- vals
-
const static SortMode[] vals := SortMode[SortMode.up,SortMode.down]
List of SortMode values indexed by ordinal