Skip to main content

Column definition

key
string
required
The key of the column.
header
string
required
The header of the column.
width
Size
default:"'medium'"
The of the column.
cell
Cell
required
The definition of the the content of the cell, see more information about the cell definition here.
cellFn
`${(data: any) => Cell}`
required
A stringified function calculated on the fly by the frontend that returns the cell definition.
sort
object
The sort of the column.
filter
object
The filter of the column.

Cell definition

The cell definition is an object that defines what will be displayed in the cell.
view
WidgetDefinition
required
The definition of the UI widget that will be displayed in the cell.
modal
ModalWrapperDefinition
A modal definition to display when the cell is clicked.
The definition of the link wrapper that will be used when the cell is clicked.
aggregation
AggregationDefinition
The aggregation feature is currently only effective for the widget type number.
Configuration for the column aggregation feature.