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

How to put horizontal scroll bar on top #389

Open
Yousuf28 opened this issue Aug 14, 2024 · 1 comment
Open

How to put horizontal scroll bar on top #389

Yousuf28 opened this issue Aug 14, 2024 · 1 comment

Comments

@Yousuf28
Copy link

I was wondering if there is any way to put horizontal scroll bar on top of the table.
also it would be nice if all columns name stay visible while scrolling down.
thanks in advance.

@glin
Copy link
Owner

glin commented Aug 26, 2024

The horizontal scroll bar being at the bottom is a browser thing, so there's nothing we can really do to change that.

Column headers are sticky and should stay visible when scrolling already. You might just have to limit the height so the full table appears on one page, and the vertical scrollbar appears. Check out this example, Fixed height + sticky header/footer.

Limiting the height should help with the horizontal scrollbar visibility as well. I'm kind of guessing that you have a tall table that doesn't fit on one page, so the horizontal scrollbar isn't immediately visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants