Type Alias: ColumnViewColumnProps<T>
ColumnViewColumnProps<
T> =object
Defined in: packages/react/src/jsx.ts:445
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
children?
optionalchildren:ReactNode
Defined in: packages/react/src/jsx.ts:463
Menu items for the column header context menu
expand?
optionalexpand:boolean
Defined in: packages/react/src/jsx.ts:449
Whether the column expands to fill available space
fixedWidth?
optionalfixedWidth:number
Defined in: packages/react/src/jsx.ts:453
Fixed width in pixels
id
id:
string
Defined in: packages/react/src/jsx.ts:455
Unique identifier for this column
renderCell()
renderCell: (
item) =>ReactNode
Defined in: packages/react/src/jsx.ts:461
Function to render the cell content for each row
Parameters
| Parameter | Type |
|---|---|
item | T |
Returns
ReactNode
resizable?
optionalresizable:boolean
Defined in: packages/react/src/jsx.ts:451
Whether the column can be resized by the user
sortable?
optionalsortable:boolean
Defined in: packages/react/src/jsx.ts:457
Whether clicking the header sorts by this column
title
title:
string
Defined in: packages/react/src/jsx.ts:447
Column header text
visible?
optionalvisible:boolean
Defined in: packages/react/src/jsx.ts:459
Whether this column is visible