Column definition
- API
string
required
The key of the column.
string
required
The header of the column.
Size
default:"'medium'"
The of the column.
Cell
required
The definition of the the content of the cell, see more information about the cell definition here.
`${(data: any) => Cell}`
required
A stringified function calculated on the fly by the frontend that returns the cell definition.
object
The sort of the column.
object
The filter of the column.
Cell definition
The cell definition is an object that defines what will be displayed in the cell.- API
- Type
- Example
WidgetDefinition
required
The definition of the UI widget that will be displayed in the cell.
ModalWrapperDefinition
A modal definition to display when the cell is clicked.
LinkWrapperDefinition
The definition of the link wrapper that will be used when the cell is clicked.
AggregationDefinition
The aggregation feature is currently only effective for the widget type
number.