Constructor
# new VirtualizedTable(props) → {React.ReactElement}
Overview
A Table component wrapped around in AutoSizer from react-virtualized library with custom styling. There are defaultcellRenderer
and headerRenderer
functions in this component.
However, you can forward your own functions to replace them.
For full documentation check out this react-virtualized docs on
Table,
AutoSizer and
Column.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
props |
Object | Any other props will be forwarded to the Table component. |
|
classes |
Object |
<optional> |
Override or extend the styles applied to the component. |
columns |
Array.<Object> | A data set that is going to be displayed in VirtualizedTable. |
React.ReactElement
Methods
# inner cellRendererDefault(cellData, dataKey) → {React.ReactElement}
Overview
DefaultcellRenderer
for VirtualizedTable
.
It renders a TextWithHoverTooltip
.
For full documentation check out react-virtualized docs on cellRenderer
Parameters:
Name | Type | Description |
---|---|---|
cellData |
* | The content of a table cell. |
dataKey |
string | The key property of a table cell. |
React.ReactElement
# inner headerRendererDefault(label) → {React.ReactElement}
Overview
DefaultheaderRenderer
for VirtualizedTable
.
It renders a TextWithHoverTooltip
.
For full documentation check out react-virtualized docs on headerRenderer
Parameters:
Name | Type | Description |
---|---|---|
label |
* | The content of a header cell. |
React.ReactElement