PablocFonseca / streamlit-aggrid

Implementation of Ag-Grid component for Streamlit
https://pypi.org/project/streamlit-aggrid/
MIT License
991 stars 191 forks source link

horizontal scroll bar not showing immediately (need to scroll down to the end first then it shows) when a height is defined #227

Open yulevern opened 1 year ago

yulevern commented 1 year ago

Hi, I do see the horizontal scroll bar when I put nothing in height, but if I put a value then the horizontal scroll bar is disappeared.

Also found another discussion where this issue has been stated. https://discuss.streamlit.io/t/st-aggrid-horizontal-scroll-bar-disappears-when-i-define-a-height/46217/1

dct_table_config = GridOptionsBuilder.from_dataframe(df).build()
dct_table_config["alwaysShowHorizontalScroll"] = True
AgGrid(df, gridOption=dct_table_config, height=400)
parthplc commented 11 months ago

Hey @liaoyusaki , did you find the solution for above?

bradfeiger commented 11 months ago

Also interested in this. @liaoyusaki please let me know if you've found a solution to this.

yulevern commented 11 months ago

Also interested in this. @liaoyusaki please let me know if you've found a solution to this.

@bradfeiger , @parthplc Hi, I used another library in the end. Check out the Dataframe explorer UI in streamlit extras library

parthplc commented 11 months ago

I found a hack for now. Downgrade aggrid to

pip install streamlit-aggrid==0.3.3

I don't face any of these issue in this version.