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

FR: scrollable tables with sticky headers #585

Open
2 tasks done
avamsi opened this issue Jan 24, 2025 · 1 comment
Open
2 tasks done

FR: scrollable tables with sticky headers #585

avamsi opened this issue Jan 24, 2025 · 1 comment

Comments

@avamsi
Copy link

avamsi commented Jan 24, 2025

Prework

Proposal

I started using great-tables in Jupyter Notebooks recently and would love to have a knob to make large tables scrollable natively with sticky headers, so it's easier to parse the data. I didn't find any similar open issues but #578.

@avamsi
Copy link
Author

avamsi commented Jan 25, 2025

A workaround I'm using at the moment is to inject some custom CSS like:

%%html

<style>
.gt_table {
    display: block !important;
    max-height: 80vh;
    overflow-y: auto;
}

.gt_col_headings {
    position: sticky;
    top: 0;
}
</style>

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

No branches or pull requests

1 participant