Class

TableRow

TableRow

Sub-component of the TableComponent to represent a table row.

Since:
  • 5.0
See:

Extends

Methods

put(key, value) → {ComponentContainer}

Parameters:
Name Type Description
key string

placeholder for a value in template

value string | number | date | Component

value for the key

Inherited From:

The container itself.

put(key, component, cellStyles) → {TableRow}

Put a component for a placeholder into a table row, using specified table cell styles

Parameters:
Name Type Description
key string

Placeholder text in the template

component Component

The component to render into the placeholder

cellStyles CellStyle | CellFormatComponent

Formatting styles for the cell

The row itself.

TableRow

put(key, component) → {TableRow}

Put a component for a placeholder into a table row, not using any specific cell style Adds a component to the row cell.

Parameters:
Name Type Description
key string

Substitution placeholder under which to add the component.

component Component

The component to add.

The row itself.

TableRow

withStyle(defaultRowCellFormat) → {TableRow}

Set default cell style for whole row. Can be overridden by setting different style for specific cell.

Parameters:
Name Type Description
defaultRowCellFormat CellStyle | CellFormatComponent

Default style for all cells in a row

The row itself.

TableRow