Enum Tablefield
A dropdown selection column with filtering capabilities, ideal for status values, categories, or any predefined set of options within a table row.
Properties
| Attribute | Comments |
|---|---|
| basic | |
| name string / required / unique | Field name
This attribute represents the name of the form field. |
| type string / required | Tablefield type
Other attributes might only be available for some tablefield types. Choices:
|
| label string | Tablefield label
A friendly name/label for the tablefield |
| placeholder string | In-field help value
Some form fields allow an in-field hint value. |
| data | |
| default many | Default value
The type of the value depends on the field type.
|
| from string | Datasource
In a table we can have an |
| outputObject boolean | Output the selection of an enum field as a full object.
When selecting from an new in v4.0.20 : you can also use valueColumn: “*” to export all columns Default: false |
| valueColumn string | The column of a selected item that needs to exported as extravar
When you select an item in an new in v4.0.20 : setting value “*” will export all columns. Default: first column |
| datetime | |
| interaction | |
| filterColumns array | The list of columns that you can filter on
By default the |
| validation | |
| required boolean | Required field
Makes the field required. Default: false |
| visualization | |
| icon string | Field icon
Some tablefields can hold a nice looking icon. The icon name is a free fontawesome 6 icon. You can find more information at www.fontawesome.com |
| sticky boolean | Make a dropdown box permanently visible
A Default: false |
| horizontal boolean added in version 4.0.3 | Converts a dropdown box to a horizontal selector
A Default: false |
| columns array | The list of columns visible in the dropdown box
By default all properties are show in an |
| pctColumns array | The list of columns that should visualized as a percentage-bar
By default all properties are show with its regular value. |
| previewColumn string | The column of the selected item(s) that is shown in the dropdown-preview
When you select an item in an Default: first column |