This repository was archived by the owner on Jul 20, 2024. It is now read-only.
Fixed header data tables #123
raissa-amaral
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone, just thought I would share something it took me a while to realise and it may be useful for other people:
Problem: Dataframes being displayed on the dashboard were getting very long, and users were losing track of the headers - as well as the dashboard wasn't looking so nice
Desired outcome: Scrollable dataframe visualisations with fixed headers
Options attempted:
Final solution:
Change dataframe's classes through the custom css file:
Just add the above classes to your css file and see the magic happening!
Note: I'm not hosting the result anywhere, so I need all features to work with plain HTML, CSS and JS
Hope that helps :)
Beta Was this translation helpful? Give feedback.
All reactions