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 Parameter | Default type | Description |
|---|---|---|
T | unknown | The type of data for each row |
Properties
expand?
optionalexpand:boolean
Defined in: jsx.ts:178
Whether the column expands to fill available space
fixedWidth?
optionalfixedWidth: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
| Parameter | Type |
|---|---|
item | T | null |
Returns
ReactNode
resizable?
optionalresizable:boolean
Defined in: jsx.ts:180
Whether the column can be resized by the user
sortable?
optionalsortable: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