Table & List

Table

Definition

Displays tabular data from an array.

Usage

Use Table for row-oriented business data with consistent columns.

Attributes

  • data required. Array expression used as table rows.
  • rowName. Local variable name for custom column children.
  • density. compact, balanced, or spacious.
  • isStriped. Shows alternating row backgrounds.
  • hasHover. Adds row hover styling.

Children

TableColumn children.

Example

xml
<Table data="$orders.items" rowName="order">
<TableColumn key="number" header="Number" field="number" />
<TableColumn key="status" header="Status" field="status" />
</Table>