tableControlConfig
Examples
kind: Table
columns:
my-col1:
type: Text
label: Description
my-col2:
type: Number
label: Price
hideWhen: # OPTIONAL
kind: Falsy
control: my-other-control1
Object properties
Name |
Type |
Required |
kind |
Constant: Table |
yes |
columns |
Dictionary |
yes |
hideWhen |
One of |
no |
- Object with the following properties:
kind
(required): Constant Table
- Table is used to display table of data
columns
(required):
- Columns schema. Columns should be referenced by key when defining table items. Item object should specify value for each column
- Dictionary of:
- Object with the following properties:
type
(required): One of the following types:
- Constant
Text
- Constant
Number
label
(optional): string
hideWhen
(optional):
- Hide this control based on another control’s value
- One of the following types: