DmDataTable

Updated Aug 18, 2026
DataMagik Application Designer

DmDataTable

DmDataTable — the platform's `data_table`.

When not to use it. For a handful of fixed key/value pairs, use DmDescriptionList. A table with three rows and no sorting is a list wearing a table.

States

rows

DmDataTable — rows, light theme DmDataTable — rows, dark theme

Running

DmDataTable — Running, light theme DmDataTable — Running, dark theme

Idle

DmDataTable — Idle, light theme DmDataTable — Idle, dark theme

Down

DmDataTable — Down, light theme DmDataTable — Down, dark theme

loading

DmDataTable — loading, light theme DmDataTable — loading, dark theme

empty

DmDataTable — empty, light theme DmDataTable — empty, dark theme

error

DmDataTable — error, light theme DmDataTable — error, dark theme

Example

<DmDataTable />

Props

NameTypeRequiredDefault
rowsDmRow[]() => []
columnsDmTableColumn[]() => []
rowKeystringundefined
loadingbooleanfalse
errorstring | nullnull
searchablebooleanfalse
pageSizenumber25
serverPaginatedbooleanfalse
totalnumber | nullnull
selectable'none' | 'single' | 'multiple''none'
expandablebooleanfalse
editablebooleanfalse
allowAddbooleanfalse
allowDeletebooleanfalse
showSummaryRowbooleanfalse
groupBystringundefined
groupSubtotalsbooleanfalse
zebraStripingbooleanfalse
rowColorFieldstringundefined
rowColorMapRecord<string, string>() => ({})
compactModebooleanfalse
freezeFirstColumnbooleanfalse
exportablebooleanfalse
exportFileNamestring'export.csv'
rowActionsDmRowAction[]() => []
bulkActionsDmBulkAction[]() => []
emptyTitlestring'No rows'
emptyDescriptionstringundefined

Events

add-row, bulk-action, cell-edit, delete-row, request, retry, row-action, row-click, update:selected

Slots

detail

Worth knowing

Columns take `field`, not `key`. A summary row states its own scope: the footer totals every row, a group subtotal covers the page.

Was this page helpful?