Table & List

TableColumn

Definition

Declares one column inside a Table.

Usage

Use TableColumn to define column headers, fields, and custom cell content.

Attributes

  • key required. Stable column key.
  • header or i18n required. Column header text.
  • field. Property path read from the row item.
  • width. Column width.
  • align. start, center, or end.

Children

Optional custom cell content rendered for each row.

Example

xml
<TableColumn key="status" header="Status">
<Badge label="$order.status" variant="info" />
</TableColumn>