Skip to content

DataTable<T>

Reusable DataGrid<T> wrapper with sensible defaults for server-side paging, sort state, skeleton loading, and an empty-state slot.

  • T — Row item type.

Optional per-row action template rendered as the last column.

Additional CSS classes applied to the grid.

Column declarations (use PropertyColumn / TemplateColumn).

When true, applies dense styling.

Elevation for the grid surface.

Icon shown in the empty state. Defaults to Filled.SearchOff.

Empty-state message. Defaults to "No records found"; pass a localized string to override.

Local items source. Mutually exclusive with DataTable<T>.ServerData.

When true, replaces row content with skeleton placeholders.

Page-size options shown in the pager.

Server-data loader. Mutually exclusive with DataTable<T>.Items.

Number of skeleton rows rendered while DataTable<T>.Loading.

Current sort definitions (proxied from the underlying grid).

Inline style applied to the grid.

Arbitrary attributes splatted onto the grid.

Forces the underlying grid to re-call DataTable<T>.ServerData.