DocEngine

Field types · Table

Table table

Grid of cells; each cell is its own field id under the table.

At a glance

  • Schema type: table
  • Value: Row/cell map (per-cell field values)
  • Use when: Line items, grids, OD/OS-style fixed rows.

Type properties

Options that appear only for Table fields. Shared options (Label, Field Name, Required, …) are on Field types → Common properties.

Columns (comma-separated)
Column header labels, in order. Keys are derived from column field names.
Column field Names (comma-separated)
Logical names used in export and formulas. Align by position with Columns. Column field IDs are generated automatically from these names.
Column widths (optional, comma-separated)
Widths align with columns by position (e.g. 80px, 25%, auto). Leave blank or use auto for flexible columns.
Hide header
When on, the table header row is not shown in the document, preview, or PDF.
Hide borders
When on, table cell borders are not drawn in the document, preview, or PDF.

Details

  • Columns have label, logical name, and auto key (labelToFieldKey).
  • Cell ids: cellFieldId(tableId, rowKey, colKey) → {tableId}_{rowKey}_{colKey}.
  • Fill mode can add/remove instance rows (unless fixed schema.rows).
  • cellType can be text, integer, choice, or list (with optional cell items / catalog).
  • Aggregates in Computed formulas use {Section.TableName.ColumnName}.

Related

Other field types

← All field types