DataTable<T>
Reusable DataGrid<T> wrapper with sensible defaults for server-side
paging, sort state, skeleton loading, and an empty-state slot.
Type parameters
Section titled “Type parameters”T— Row item type.
Properties
Section titled “Properties”Actions
Section titled “Actions”Optional per-row action template rendered as the last column.
Additional CSS classes applied to the grid.
Columns
Section titled “Columns”Column declarations (use PropertyColumn / TemplateColumn).
When true, applies dense styling.
Elevation
Section titled “Elevation”Elevation for the grid surface.
EmptyIcon
Section titled “EmptyIcon”Icon shown in the empty state. Defaults to Filled.SearchOff.
EmptyMessage
Section titled “EmptyMessage”Empty-state message. Defaults to "No records found"; pass a localized string to override.
Local items source. Mutually exclusive with DataTable<T>.ServerData.
Loading
Section titled “Loading”When true, replaces row content with skeleton placeholders.
PageSizeOptions
Section titled “PageSizeOptions”Page-size options shown in the pager.
ServerData
Section titled “ServerData”Server-data loader. Mutually exclusive with DataTable<T>.Items.
SkeletonRows
Section titled “SkeletonRows”Number of skeleton rows rendered while DataTable<T>.Loading.
SortDefinitions
Section titled “SortDefinitions”Current sort definitions (proxied from the underlying grid).
Inline style applied to the grid.
UserAttributes
Section titled “UserAttributes”Arbitrary attributes splatted onto the grid.
Methods
Section titled “Methods”ReloadServerDataAsync()
Section titled “ReloadServerDataAsync()”Forces the underlying grid to re-call DataTable<T>.ServerData.