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