AgGrid filter or sort makes dataframe vanish

Hi There, I’m using AgGrid to display data frame in streamlit app. The data is displayed accurately but when I interact with the data like sort or use filters the data frame disappears from the page. So I just wanted to know what am I doing wrong or how do I fix this issue ?

AgGrid(dataframe)

Thanks,
Bharat

1 Like

I dont know if there is a practical solution, try
dataframe = pd.read_excel(path of the excel file)
before
data = AgGrid(dataframe, gridOptions=gridOptions, enable_enterprise_modules=True, allow_unsafe_jscode=True)
hope this helps

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.