Class: Table

TableComponents. Table


new Table()

Table component

Properties:
Name Type Description
data array

The data that is displayed. Each index is one row of the table.

dataKeys object

The keys of the table. Each key on the object corresponds to a table header.

options object

Optional configuration options for the table

Source:
See:

Methods


<private, static> _shouldLoadSpinner()

_shouldLoadSpinner

Source:
Returns:
Type
jsx

<private, static> _shouldRenderInfoIcon(column, value)

_shouldRenderInfoIcon

Parameters:
Name Type Description
column number

The column

value *

The contents of the table cell.

Source:
Returns:
Type
jsx

<static> buildTableColumns()

Build table columns based on user provided data keys

Source:
Returns:
Type
jsx

<static> closeModal()

closeModal

Source:
Returns:
Type
null

<static> componentDidMount()

componentDidMount

Source:
Returns:
Type
null

<static> getDefaultProps()

getDefaultProps

Source:
Returns:
Type
object

<static> getInitialState()

getInitialState

Source:
Returns:
Type
object

<static> render()

render

Source:
Returns:
Type
jsx

<static> toggleAllCheckboxes(event)

When the top checkbox is selected, all rows should be (de)selected accordingly
Sets state with the proper selected selected status, and sets all children as well.
Fires the 'selectAllRows' action for the actionsCallback

Parameters:
Name Type Description
event event

The event that triggered the click

Source:
Returns:
Type
null

<static> toggleTooltip(event)

toggleTooltip

Parameters:
Name Type Description
event event

The event that triggered this function

Source:
Returns:
Type
null