Class: Rows

TableComponents. Rows


new Rows()

Table rows component

Properties:
Name Type Argument Description
data array
dataKeys object
options object <optional>
actionCreator object <optional>
Source:
See:

Methods


<private, static> _renderPlaceHolder()

Render a placeholder for drag sorting

Source:
Returns:
Type
HTMLElement | *

<static> componentWillReceiveProps(nextProps)

Set up props when passed down

Parameters:
Name Type Description
nextProps object
Source:
Returns:
Type
null

<static> getDefaultProps()

Gets the default properties of the component

Source:
Returns:
Type
object

<static> getInitialState()

Gets the initial state of the component

Source:
Returns:
Type
object

<static> handleDragEnd(event)

Finalize the drag sort

Source of truth for sort order is in the developer's parent component. Here we just determine and bubble up
the 'proposed' sortOrder.

Parameters:
Name Type Description
event event
Source:
Returns:
Type
null

<static> handleDragOverRow(event)

Handle events when a resource is dragged over another table row

Parameters:
Name Type Description
event event
Source:
Returns:
Type
null

<static> handleDragStart(event)

Set up drag sorting once user begins to drag

Parameters:
Name Type Description
event event
Source:
Returns:
Type
null

<static> render()

Renders the component

Source:
Returns:
Type
jsx