Constructor
# new TableItemsList(props) → {React.ReactElement}
Overview
An AutoSizer and List components from react-virtualized library with custom styling. Used to display items from an array from an item's tables property.For full documentation check out react-virtualized docs on AutoSizer and List.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
props |
Object | |||
customisable |
boolean |
<optional> |
true | If |
getItemStyle |
function |
<optional> |
Should return a style object for an item with specified index. |
|
getName |
function |
<optional> |
Should return a name for an item with specified index. |
|
headerText |
string |
<optional> |
The header of the |
|
itemIndex |
number | The index of currently selected item. |
||
itemText |
string |
<optional> |
"Object" | The prefix used to name items from table. |
onItemInTableSelected |
function | Callback fired when an item in table is selected. |
||
onSettingsClick |
function |
<optional> |
Callback fired when settings button was clicked on. |
|
rowHeight |
number |
<optional> |
53 | The height of a row in a list. |
table |
Array.<Object> | The one of arrays from item's tables property. |
React.ReactElement