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

Expose rowHeight as a configurable variable to data_editor #8632

Open
2 tasks done
xliyuan opened this issue May 8, 2024 · 3 comments
Open
2 tasks done

Expose rowHeight as a configurable variable to data_editor #8632

xliyuan opened this issue May 8, 2024 · 3 comments
Labels
feature:st.data_editor feature:st.dataframe type:enhancement Requests for feature enhancements or new features

Comments

@xliyuan
Copy link

xliyuan commented May 8, 2024

Checklist

  • I have searched the existing issues for similar feature requests.
  • I added a descriptive title and summary to this issue.

Summary

Nowadays, the row height of data editor is fixed, which is 35 pixels, but why not just expose this constant as a configurable variable to data_editor?

Why?

Because our users do not want to scroll to see all the rows in a table.

How?

No response

Additional Context

No response

@xliyuan xliyuan added the type:enhancement Requests for feature enhancements or new features label May 8, 2024
Copy link

github-actions bot commented May 8, 2024

To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.

Your vote helps us identify which enhancements matter most to our users.

Visits

@LukasMasuch
Copy link
Collaborator

@xliyuan Thanks for the suggestion. Is your usecase to increase or lower the row height?

Because our users do not want to scroll to see all the rows in a table.

btw. you can already set a height on st.data_editor / st.dataframe and thereby prevent it from scrolling.

@xliyuan
Copy link
Author

xliyuan commented May 8, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:st.data_editor feature:st.dataframe type:enhancement Requests for feature enhancements or new features
Projects
None yet
Development

No branches or pull requests

2 participants