From b250e9e5107d869ff69bc935866303d41659d967 Mon Sep 17 00:00:00 2001 From: Jacek Date: Wed, 22 Feb 2023 16:12:34 +0100 Subject: [PATCH 1/2] Replace missing theme in AgGrid --- streamlit_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index abfd5fc..cb98c58 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -38,7 +38,7 @@ def aggrid_interactive_table(df: pd.DataFrame): df, enable_enterprise_modules=True, gridOptions=options.build(), - theme="light", + theme="streamlit", update_mode=GridUpdateMode.MODEL_CHANGED, allow_unsafe_jscode=True, ) From d5c4d19386e9183820cb12301724fec05118e524 Mon Sep 17 00:00:00 2001 From: Jacek Date: Wed, 22 Feb 2023 16:13:27 +0100 Subject: [PATCH 2/2] Expand STREAMLIT_AGGRID_URL var in header DOC --- streamlit_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index cb98c58..a2f3fd9 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -9,7 +9,7 @@ ) st.title("🖱️ Interactive table app") st.write( - """This app shows how you can use the [streamlit-aggrid](STREAMLIT_AGGRID_URL) + f"""This app shows how you can use the [streamlit-aggrid]({STREAMLIT_AGGRID_URL}) Streamlit component in an interactive way so as to display additional content based on user click.""" )