Skip to main content

Type Alias: ColumnViewColumnProps<T>

ColumnViewColumnProps<T> = object

Defined in: jsx.ts:126

Props for defining a column in a ColumnView (table).

See

ColumnViewColumn for usage

Type Parameters

Type ParameterDefault typeDescription
TunknownThe type of data for each row

Properties

expand?

optional expand: boolean

Defined in: jsx.ts:130

Whether the column expands to fill available space


fixedWidth?

optional fixedWidth: number

Defined in: jsx.ts:134

Fixed width in pixels


id

id: string

Defined in: jsx.ts:136

Unique identifier for this column


renderCell()

renderCell: (item) => ReactNode

Defined in: jsx.ts:140

Function to render the cell content for each row

Parameters

ParameterType
itemT | null

Returns

ReactNode


resizable?

optional resizable: boolean

Defined in: jsx.ts:132

Whether the column can be resized by the user


sortable?

optional sortable: boolean

Defined in: jsx.ts:138

Whether clicking the header sorts by this column


title

title: string

Defined in: jsx.ts:128

Column header text