Skip to main content

Interface.TableColumnBase

@standhigher/polaris-data-table


@standhigher/polaris-data-table / TableColumnBase

Interface: TableColumnBase<T>

Shared configuration accepted by every table-column variant.

Type Parameters​

T​

T extends object

Properties​

key​

key: string


title​

title: ReactNode


sortable?​

optional sortable?: boolean


align?​

optional align?: TableColumnAlignment


currencyCode?​

optional currencyCode?: string | ((row) => string | undefined)


timeZone?​

optional timeZone?: string


statusTone?​

optional statusTone?: Readonly<Record<string, TableStatusTone>>