Class

VirtualizedMatrix

VirtualizedMatrix(props) → {React.ReactElement}

Constructor

# new VirtualizedMatrix(props) → {React.ReactElement}

Overview

The MultiGrid component wrapped around in AutoSizer from react-virtualized library with custom styling. There is a default cellRenderer function in this component. For full documentation check out this react-virtualized docs on MultiGrid and AutoSizer.
Parameters:
Name Type Attributes Default Description
props Object
cellDimensions number | Object <optional>
64

Dimensions of a cell from the MultiGrid.

matrix Array.<Array> <optional>

A data set that is going to be displayed inside of the matrix.

type string <optional>

The part of title visible in a CircleHelper tooltip.

View Source Utils/DataDisplay/VirtualizedMatrix.js, line 100

React.ReactElement

Methods

# inner cellRenderer(columnIndex, key, rowIndex, style) → {React.ReactElement}

Overview

Default codeRenderer for VirtualizedMatrix. It renders a 'div' element with a TextWithHoverTooltip when columnIndex + rowIndex > 0 or a CircleHelper when columnIndex + rowIndex === 0.
For full documentation check out react-virtualized docs on cellRenderer
Parameters:
Name Type Description
columnIndex number

Horizontal (column) index of cell.

key string

Unique key within array of cells.

rowIndex number

Vertical (row) index of cell.

style Object

Style object to be applied to cell (to position it).

View Source Utils/DataDisplay/VirtualizedMatrix.js, line 119

React.ReactElement