You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dash-ag-grid v33 doesn't support withPart for theming updates #427
To use legacy themes (by setting the className), it looks like you need to import the old css stylesheets, and set theme to "legacy" Here's an example of setting a dark theme:
It is an option of how to render. The legacy means that you can config without breaking your app immediately. The docs should be updated soon, if not already.
The newer api allows for a easy way to mix and match styles without needing to get into the css necessarily. AG Grid also has a theme builder that can construct things for you.
Activity
AnnMarieW commentedon Dec 31, 2025
To use legacy themes (by setting the className), it looks like you need to import the old css stylesheets, and set
themeto "legacy" Here's an example of setting a dark theme:AnnMarieW commentedon Dec 31, 2025
Here's an example using the solution in PR #428
nhoover commentedon Jan 22, 2026
Thanks @AnnMarieW - adding
app = Dash(external_stylesheets=[dag.themes.BASE, dag.themes.ALPINE])and
dashGridOptions={"theme": "legacy"}I was able to get my dark mode grids working with 33.3.3 (community).
Is this the preferred method going forward?
BSd3v commentedon Jan 22, 2026
Hello @nhoover,
It is an option of how to render. The legacy means that you can config without breaking your app immediately. The docs should be updated soon, if not already.
The newer api allows for a easy way to mix and match styles without needing to get into the css necessarily. AG Grid also has a theme builder that can construct things for you.
fix table styling due to dash ag grid update