Skip to main content

Interface: ColumnStyle

Defined in: packages/sdvtables/src/tanstack-table.ts:54

A column's CSS, from the spec: its alignment and width.

Properties​

textAlign​

readonly textAlign: "left" | "center" | "right"

Defined in: packages/sdvtables/src/tanstack-table.ts:56

The HTML table's alignment: the spec's align, else right for numbers and centre for images.


width?​

readonly optional width?: string

Defined in: packages/sdvtables/src/tanstack-table.ts:58

The spec's width, as given (any CSS width).