Table Properties

Apply common Mantine table props through the chainable update_table_properties helper.

Table Properties

Apply common Mantine table props through the chainable update_table_properties helper.

Source: usage.py::build_table_properties_code(TABLE_PROPERTIES_DEFAULTS).

table = (
    dmdt.DataTable(
        id="table-properties-table",
        data=EMPLOYEES[:5],
        columns=TABLE_PROPERTIES_COLUMNS,
        paginationMode="none",
        style=TABLE_PROPERTIES_VISUAL_STYLE,
    )
    .update_layout(radius="lg")
    .update_table_properties(
        horizontalSpacing="lg",
    )
)