Im running my app locally and have installed streamlit-aggrid, I attempted to use a sample code, but I’m encountering an odd behavior. when i refreshes the browser the table display is getting lost sometimes
import pandas as pd
import streamlit as st
from st_aggrid import AgGrid
df = pd.read_csv(
"https://raw.githubusercontent.com/fivethirtyeight/data/master/airline-safety/airline-safety.csv"
)
AgGrid(df)
each time I refresh the browser, my terminal prints True even though I haven’t included any print statement in my code.
so, I have this filter dropdown in order to close it either I need to click on the filter icon or anywhere inside that grid but when I clicked outside of the grid, it will not close is there any solution for it.
It could be just a design decision not to exit when user is wandering outside of the grid. It is also a reasonable decision because the user can come back to it later to finish what needs to be done in the grid. Also if there is a mouse-slip outside of the grid, no worries the user can comeback to it too.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.