dtkt.protoui.v1beta1protoui.protoTable
MessageTable component to display repeated Message fields.
Maps to Table in @dtkt/ui/table
Use CEL expressions to extract row data from the current message/field.
The message or field is available as this in the expression context.
Row data formats:
- Direct field binding (no rows expression): each item is a proto message, use
fieldin columns - List of lists (positional):
this.users.map(u, [u.name, u.email, u.active ? "Active" : "Inactive"])
| Field | Type | Number | Description |
|---|---|---|---|
| rows | string | 1 | CEL expression that evaluates to a list of objects (repeated messages or structured data).
Context: |
| columns | Column[] dtkt.protoui.v1beta1.Table.Column[] | 2 | Columns to be displayed in the table. If not specified, all fields will be displayed. |
| actions | Action[] dtkt.protoui.v1beta1.Table.Action[] | 3 | Actions that can be performed on the table rows. |