Table Schema
A schema that is used to validate a part of Laboperator workflow templates.
datarequired | reference Member NameThe unique identifier of a field that contains the source data. If configuration for
Configuration for Examples for when the source data is:
Examples:
| ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
tabs | array of objects A static array that defines the structure of tabs that contain separate tables. | ||||||||||
Array
| |||||||||||
dense | boolean default: false Toggles a condensed appearance of a table with reduced spacing. If | ||||||||||
textWrapping | boolean default: true Toggles line breaks inside table cells. If enabled, text will break into multiple lines so that it will fit into the available space and can be read from top to bottom without any horizontal scrolling.
Tables that are referenced in markdown with a flag to set the number of visible rows, i.e. | ||||||||||
borders | boolean default: false Toggles borders around each cell. The default appearance of a table is a border below every row. | ||||||||||
alternatingRowColor | boolean default: false Toggles a background color on odd rows to improve readability. | ||||||||||
caption | string A caption functions like a heading for a table and provides information that can help users find and understand a table. | ||||||||||
selectable | array of strings one of one of: rows cells Configures which table elements can be selected to trigger behaviors. | ||||||||||
transpose | boolean default: false Display table in a transposed position, flipping the position of rows and columns. This is especially useful for tables with many columns, but only a single row. | ||||||||||
columns | reference Table column mapping schemaA static array that defines the structure of a table by mapping keys from the source data to columns. | ||||||||||
state | reference Member NameThe unique identifier of a field. The state field will be created implicitly. The field name pattern consists of the table identifier and the string A custom state field needs to conform to the following schema:
Examples:
| ||||||||||
skipBehaviors | boolean default: false Toggles the automatic creation of behaviors for selecting table rows and cells | ||||||||||
rules | reference Table rulesRules can be leveraged to dynamically change both the behavior and appearance of a table. |