Skip to main content
Version: 1.0.0

Interface: TableColumn<T>

see Table

Type parameters

Name
T

Properties

align

align: "right" | "left" | "center"

Defined in

core/components/Table/TableProps.tsx:138


filter

Optional filter: TableColumnFilter

Defined in

core/components/Table/TableProps.tsx:141


key

key: string

Defined in

core/components/Table/TableProps.tsx:135


label

label: string

Defined in

core/components/Table/TableProps.tsx:136


sortable

sortable: boolean

Defined in

core/components/Table/TableProps.tsx:139


width

width: number

Defined in

core/components/Table/TableProps.tsx:140

Methods

cellRenderer

cellRenderer(props): ReactNode

Parameters

NameType
propsObject
props.columnTableColumn<T>
props.columnIndexnumber
props.columnsTableColumn<T>[]
props.isScrolling?boolean
props.rowDataany
props.rowIndexnumber

Returns

ReactNode

Defined in

core/components/Table/TableProps.tsx:142


icon

Optional icon(hoverOrOpen): ReactNode

Parameters

NameType
hoverOrOpenboolean

Returns

ReactNode

Defined in

core/components/Table/TableProps.tsx:137