chrome:shell.skip

generated:catalog.entry.table.title

generated:catalog.entry.table.description

@xngui/components/table
@xngui/components/table

chrome:demo.section

chrome:demo.preview

Team
demo-preview:table.name
demo-preview:table.role
demo-preview:table.status
Ada Lovelace
Engineer
demo-preview:table.status-active
Grace Hopper
Lead
demo-preview:table.status-away
Alan Turing
Research
demo-preview:table.status-active
Katherine Johnson
Engineer
demo-preview:table.status-active
Margaret Hamilton
Lead
demo-preview:table.status-away
Dorothy Vaughan
Research
demo-preview:table.status-active
demo-preview:hints.category.navigation:
Shift+Click↑ ↓
demo-preview:hints.category.pointer:
Click
demo-preview:hints.category.shortcuts:
Enter / Space
demo-preview:projection.slots-label:
x-table-head x-table-body x-table-foot ng-content [xEmpty]
import { Component } from '@angular/core';
import { XBadge } from '@xngui/components/badge';
import { XEmptyState } from '@xngui/components/empty-state';
import { XTable, XTableBody, XTableCell, XTableHead, XTableHeader, XTableRow } from '@xngui/components/table';
 
@Component({
selector: 'app-example',
imports: [XBadge, XEmptyState, XTable, XTableBody, XTableCell, XTableHead, XTableHeader, XTableRow],
templateUrl: './table.component.html',
})
export class ExampleComponent {}

chrome:demo.events.title

chrome:demo.events.empty

chrome:demo.api.title

x-table

chrome:demo.api.col.property
chrome:demo.api.col.type
chrome:demo.api.col.default
chrome:demo.api.col.description
striped
boolean
false
Alternating row background on body rows.
hover
boolean
true
Highlights body rows on hover.
dense
boolean
false
Applies compact density — backward-compat alias for `density="compact"`.
size
XSize
—
Visual size tier — falls back to XConfigService when unset.
density
XDensity
—
Spacing offsets — orthogonal to `size`; falls back to XConfigService when unset.
stickyHeader
boolean
false
Pins header cells while the body scrolls.
loading
boolean
false
Sets `aria-busy` and loading overlay when data is fetching.
caption
string
—
Accessible table caption text.
dataSource
XDataSource<unknown>
—
Row pipeline — filter, sort, and pagination via XDataSource.
selectionMode
XSelectionMode | 'none'
'none'
Row selection behavior — `none` disables table-level selection.