VirtualTableColumn
@firecms/core / VirtualTableColumn
Interface: VirtualTableColumn<CustomProps>
Section titled “Interface: VirtualTableColumn<CustomProps>”Defined in: components/VirtualTable/VirtualTableProps.tsx:181
Table
Type Parameters
Section titled “Type Parameters”CustomProps
Section titled “CustomProps”CustomProps = any
Properties
Section titled “Properties”AdditionalHeaderWidget()?
Section titled “AdditionalHeaderWidget()?”
optionalAdditionalHeaderWidget: (props) =>ReactNode
Defined in: components/VirtualTable/VirtualTableProps.tsx:242
Additional children to be rendered in the header when hovering
Parameters
Section titled “Parameters”onHover
Section titled “onHover”boolean
Returns
Section titled “Returns”ReactNode
align?
Section titled “align?”
optionalalign:"center"|"left"|"right"
Defined in: components/VirtualTable/VirtualTableProps.tsx:222
Alignment of the column cell
custom?
Section titled “custom?”
optionalcustom:CustomProps
Defined in: components/VirtualTable/VirtualTableProps.tsx:237
Custom props passed to the cell renderer
filter?
Section titled “filter?”
optionalfilter:boolean
Defined in: components/VirtualTable/VirtualTableProps.tsx:216
frozen?
Section titled “frozen?”
optionalfrozen:boolean
Defined in: components/VirtualTable/VirtualTableProps.tsx:201
This column is frozen to the left
headerAlign?
Section titled “headerAlign?”
optionalheaderAlign:"center"|"left"|"right"
Defined in: components/VirtualTable/VirtualTableProps.tsx:206
How is the
optionalicon:ReactNode
Defined in: components/VirtualTable/VirtualTableProps.tsx:211
Icon displayed in the header
key:
string
Defined in: components/VirtualTable/VirtualTableProps.tsx:186
Data key for the cell value, could be “a.b.c”
resizable?
Section titled “resizable?”
optionalresizable:boolean
Defined in: components/VirtualTable/VirtualTableProps.tsx:232
Can it be resized
sortable?
Section titled “sortable?”
optionalsortable:boolean
Defined in: components/VirtualTable/VirtualTableProps.tsx:227
Whether the column is sortable, defaults to false
title?
Section titled “title?”
optionaltitle:string
Defined in: components/VirtualTable/VirtualTableProps.tsx:196
Label displayed in the header
width:
number
Defined in: components/VirtualTable/VirtualTableProps.tsx:191
The width of the column, gutter width is not included