Skip to content

TableContentProps

Type Parameter Default type
TData extends TableData TableData
Property Type Description
hideTableHeaderDropdown? boolean If true nothing will happen if the user clicks the table header element (th)
onClickRow? (row: TableRow<TData>, event: | KeyboardEvent<HTMLTableRowElement> | MouseEvent<HTMLTableRowElement, MouseEvent>) => void Returns the data of clicked row. Not applicable to header row.
onRowClickIndication? boolean Use to allow a indication that the row has been clicked by changing its background color
portalContainerRef? RefObject< | HTMLElement | null> Anchor portals to a referenced layer. Defaults to document body.
showRowHoverStyle? boolean When true, hovering over a row will highlight it in a different background color than the rest of the table. Defaults to true.
stickyHeaders? boolean When true, makes table headers (th) sticky
virtualization? VirtualizationOptions Enables virtualization for the table rows to improve performance with large datasets.