Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

snehilvj/dash-mantine-react-table

Open more actions menu

Repository files navigation

Dash Mantine React Table

The right datagrid for Dash when using Dash Mantine Components.

Install

pip install dash_mantine_react_table

Quickstart

from dash_mantine_react_table import DashMantineReactTable

grid = DashMantineReactTable(
        data=data.to_dict("records"),
        columns=[{"accessorKey": i, "header": i} for i in data.columns],
        mrtProps={
            "enableHiding": False,
            "enableColumnFilters": False,
            "initialState": {"density": "sm"},
            "mantineTableProps": {"fontSize": "sm"},
            "mantineTableHeadCellProps": {"style": {"fontWeight": 500}},
        },
        mantineProviderProps={
            "theme": {
                "colorScheme": "dark",
            },
        },
    )

About

The right datagrid for Dash when using Dash Mantine Components based on https://www.mantine-react-table.com.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.