mwouts / itables

Pandas DataFrames as Interactive DataTables
https://mwouts.github.io/itables/
MIT License
710 stars 53 forks source link

Trigger an horizontal scroll through on overflow #282

Closed mwouts closed 1 week ago

mwouts commented 4 weeks ago

This change improves the rendering of wide tables.

The horizontal scroll bar appears on the table itself, meaning that the search and pagination control remain visible as we scroll.

Thanks to this change, we get a more uniform rendering among Jupyter, Jupyter Book, VS Code and Streamlit.

github-actions[bot] commented 4 weeks ago

Thank you for making this pull request.

Did you know? You can try it on Binder: Binder:lab.

Also, the version of ITables developed in this PR can be installed with pip:

pip install git+https://github.com/mwouts/itables.git@update_style

(this requires nodejs, see more at Developing ITables)

codecov-commenter commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.16%. Comparing base (d6a71c8) to head (6927453).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #282 +/- ## ========================================== - Coverage 96.16% 96.16% -0.01% ========================================== Files 27 27 Lines 1174 1173 -1 ========================================== - Hits 1129 1128 -1 Misses 45 45 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.