Type Parameters

Hierarchy

Properties

columnSortKeys?: ColumnSortKeys

Specify explicit enum keys to use for ascending and descending sorting

disableResizing?: boolean

If set to true, the column will not be resizable

extras?: unknown

Additional data passed into the render function

horizontalColumnAlign?: "center" | "left" | "right"

Specify the horizontal text alignment of the column

key: string

The identifier for the column.

label?: string

Column's header label

propertyName?: keyof T

The name of the property on the Data object that should be rendered in that column.

render: ColumnRenderer<T>

A custom render function that will be called for every row that should be rendered. The List will already try to render the data in a meaningful way, but in some advanced use cases more control is required.

Memberof

Column

size?: string

The width of the column as CSS size (default: 1fr)

sortable?: boolean

If set to false, disables sorting for this column (default: true)

tooltip?: boolean

If set to false, will not render a tooltip for the column data (default: undefined) If a custom renderer is used that will not return a value cast-able to a string, you should consider setting this property to false and add a title attribute on the component returned by the custom renderer.

Generated using TypeDoc