Tables overview
static table(table: TableBuilder) { return table .defaultSort('name', 'asc') .defaultFilters([{ field: 'resolved', value: false, label: 'Resolved: No' }]) .schema([ TextColumn.make('name').searchable().sortable(), ])}List routes render searchable, filterable, groupable tables with pagination, bulk actions, and sticky headings.
TableBuilder
Section titled “TableBuilder”| Method | Purpose |
|---|---|
.schema([columns]) |
Column list |
.defaultSort(field, direction) |
Initial sort |
.defaultFilters([...]) |
Pre-applied filters |
.defaultGroupBy(field) |
Initial grouping |
See TextColumn for all column format modifiers.