A default header for c2-table-detail
.
Props
actionsCell
Which cell to place in the top right as a list of actions.
string
actions
cells
A record of table cell definitions.
{ [x: string]: TableCell<any, any>; }
data
The data to render.
any
hasTabs
If the panel has tabs.
boolean
false
identifier
Passed to cell renderer as
parent
.
string
detail-header
titleCell
Which cell to place as the title
string
title
TableCell
A single table cell definition.
Allows aligning the cell and header.
start
(default)end
center
The cell renderer. By default it will take the it's key in in the record, and extract that key from the row data.
Pass a custom class function, string or record to apply to the cell.
The anticipated length of the loaded text to be provided to c2-loading-text.
If this cell should be grouped with others.
If the table can be sorted by this column
The title to be placed in the header.
Appends a random number of characters (up to the specified amount) to the expectedLength.
Allows specifiying a predefined variant for the cell.
default
: The default styling.no-pad
: Removes padding.borderless
: Removes border, if set.full-width
: Breaks the cell onto its own row, taking the full width. **Only use on last cell of row, or in c2-table-detail. Not supported in c2-table-virtualized **exclude
: Disables the cell.