Basic Formatting
Render plain records with formatted currency, progress, badges, links, and Mantine table styling.
Basic Formatting
Render plain records with formatted currency, progress, badges, links, and Mantine table styling.
Source: usage.py::build_basic_formatting_code().

table = dmdt.DataTable(
id="overview-table",
data=EMPLOYEES[:6],
columns=OVERVIEW_COLUMNS,
sortStatus={"columnAccessor": "name", "direction": "asc"},
striped=True,
withTableBorder=True,
withColumnBorders=True,
paginationMode="none",
radius="md",
bg="var(--mantine-color-body)",
)