Type TableHeader

type TableHeader struct {
	ID       ui.ID
	Label    string
	Sort     TableSortDirection
	Disabled bool
	// FocusableWhenDisabled lets a header retain keyboard focus while its
	// application is refreshing. Activation is still disabled.
	FocusableWhenDisabled bool
	Description           string
}

TableHeader describes one header cell. A non-zero ID makes it sortable and keyboard-activatable; a zero ID remains an ordinary text heading. Description optionally localizes the accessible sort-state description (the default is English). Disabled headers keep their direction visible but cannot activate.