Configuring Fields
Last updated
Last updated
Each field can be configured with several configuration keys, to make it more suitable to your grid requirements.
type
string
Type of column. Default field types are described .
label
string
Label displayed in the field header. By default, it is field name.
path
string
Path to property displayed in field (can be property of resource or one of its referenced objects).
position
int
Position of field in the grid index view.
options
array
Array of field options (see below).
The options
field can itself contain the following fields:
template
string
Available (and required) only for twig column type. Path to template that is used to render column value.
format
string
Available only for datetime field type.
Y:m:d
H:i:s