at |
string |
Top-left cell of the table, including any label row or column. |
checks? |
DeclarativeRule[] |
Declarative checks; “*” as the field applies a check to every field. |
corner? |
TextMatch |
Text expected in the top-left cell when the table has both kinds of labels. |
fields |
FieldSchema[] |
- |
header? |
boolean |
The first row (“rows”) or column (“columns”) holds the field labels. Default true. |
key |
string |
- |
orientation? |
"rows" | "columns" |
“rows”: one record per row, fields across the columns (the usual table). “columns”: one record per column, fields down the rows. |
records? |
object |
- |
records.labels? |
TextMatch[] |
Fixed labels in the first column (“rows”) or row (“columns”). When given, the number of records is fixed and the labels can’t be edited. |
records.max? |
number |
- |
records.min? |
number |
Bounds on the number of records when they can be added and removed. |
rules? |
TableRule[] |
Code hooks: table-wide checks, sync or async. |