Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] AgGrid theme different from Streamlit theme #303

Open
Hoffelhas opened this issue Feb 6, 2025 · 0 comments
Open

[BUG] AgGrid theme different from Streamlit theme #303

Hoffelhas opened this issue Feb 6, 2025 · 0 comments

Comments

@Hoffelhas
Copy link

Describe the bug
Normally the AgGrid theme is similar to the Streamlit app theme, but I noticed that after updating from 1.0.5 to 1.1.0, the AgGrid theme is mismatching.

To Reproduce
I used this as small working example:

from st_aggrid import AgGrid
import pandas as pd

df = pd.DataFrame({"Column A": [1, 2, 3], "Column B": [4, 5, 6]})

AgGrid(df)

With Version 1.0.5 it looks like this:
Image

With version 1.1.0 it looks like this:
Image

Forcing the theme like this doesn't seem to change anything:
AgGrid(df, theme="streamlit")

Expected behavior
I'd expect the default behaviour of the AgGrid theme to match the streamlit theme as the previous version.

live code
Py.cafe example with 1.0.5

Py.cafe example with 1.1.0

@Hoffelhas Hoffelhas changed the title [BUG] AgGgrid theme different from Streamlit theme [BUG] AgGrid theme different from Streamlit theme Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant