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

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 this issue Jul 7, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@yulevern
Copy link

yulevern commented Jul 7, 2023

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)
@yulevern yulevern changed the title St-aggrid horizontal scroll bar disappears when a height is defined horizontal scroll bar not showing immediately (need to scroll down to the end first then it shows) when a height is defined Jul 7, 2023
@parthplc
Copy link

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

@bradfeiger
Copy link

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

@yulevern
Copy link
Author

yulevern commented Aug 1, 2023

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
Copy link

parthplc commented Aug 1, 2023

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.

@PablocFonseca PablocFonseca added the bug Something isn't working label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants