The editschema can be used to add specific UI behavior to editable columns. It is a JSON array of objects, each object representing a column of the original dataset.
For each column of the original dataset you can set the following fields:
name
: name of a column of the original dataset.type
: allows to override the column’s type inferred from the original dataset’s schema, or to refine it:
boolean_tick
for Boolean columns: formatting and editing of boolean values behaves like a toggle with only 2 states: true
represented by a green tick icon, and no icon at all otherwise. true
represented by a green tick icon, false
represented by a red cross, and empty.textarea
for Text columns: this is ideal when values are longer bits of text and provides the following benefits:
[
{
"name": "validated",
"type": "boolean_tick"
},
{
"name": "notes",
"type": "textarea"
},
]