Skip to main content

Type Alias: ColumnViewColumnProps<T>

ColumnViewColumnProps<T> = object

Defined in: jsx.ts:174

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:178

Whether the column expands to fill available space


fixedWidth?

optional fixedWidth: number

Defined in: jsx.ts:182

Fixed width in pixels


id

id: string

Defined in: jsx.ts:184

Unique identifier for this column


renderCell()

renderCell: (item) => ReactNode

Defined in: jsx.ts:188

Function to render the cell content for each row

Parameters

ParameterType
itemT | null

Returns

ReactNode


resizable?

optional resizable: boolean

Defined in: jsx.ts:180

Whether the column can be resized by the user


sortable?

optional sortable: boolean

Defined in: jsx.ts:186

Whether clicking the header sorts by this column


title

title: string

Defined in: jsx.ts:176

Column header text