Toggle#
func (state TableSortState) Toggle(column int) TableSortStateAPI 文档由 Go 源码生成,内容为英文。
type TableSortState struct {
Column int
Direction TableSortDirection
}TableSortState is caller-owned single-column ordering. Its zero value has no active column; Toggle selects ascending first, then alternates both ways.
Toggle#func (state TableSortState) Toggle(column int) TableSortState