TableColumn.header
property · packages/mixins-ui/src/table.ts:56
readonly header: stringMixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/table.ts:55
interface TableColumn<Row> {
readonly header: string
readonly numeric?: boolean | undefined
readonly value: (row: Row) => string
readonly sortKey?: string | undefined
}One column: its heading, and each row's value for it.
TableColumn.headerproperty · packages/mixins-ui/src/table.ts:56
readonly header: stringTableColumn.numericproperty · packages/mixins-ui/src/table.ts:58
readonly numeric?: boolean | undefinedRight-align values that read as numbers.
TableColumn.valueproperty · packages/mixins-ui/src/table.ts:59
readonly value: (row: Row) => stringTableColumn.sortKeyproperty · packages/mixins-ui/src/table.ts:61
readonly sortKey?: string | undefinedMakes the heading a button that sends sort.onSort with this key.