Skip to main content

Interface: TableColumn<T>

see Table

Type parameters

Name
T

Properties

align

โ€ข align: "right" | "left" | "center"

Defined in

core/components/Table/TableProps.tsx:138


cellRenderer

โ€ข cellRenderer: (props: { column: TableColumn<T> ; columnIndex: number ; columns: TableColumn<T>[] ; isScrolling?: boolean ; rowData: any ; rowIndex: number }) => ReactNode

Type declaration

โ–ธ (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


filter

โ€ข Optional filter: TableColumnFilter

Defined in

core/components/Table/TableProps.tsx:141


icon

โ€ข Optional icon: (hoverOrOpen: boolean) => ReactNode

Type declaration

โ–ธ (hoverOrOpen): ReactNode

Parameters
NameType
hoverOrOpenboolean
Returns

ReactNode

Defined in

core/components/Table/TableProps.tsx:137


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