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

Responsive expandable details #329

Open
olivroy opened this issue May 31, 2023 · 1 comment
Open

Responsive expandable details #329

olivroy opened this issue May 31, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@olivroy
Copy link

olivroy commented May 31, 2023

Hi,

I was wondering if there was something similar in reactable as
DT::datatable(data, extensions = "Responsive")
That uses the viewer or browser current state, and collapses rows in details automatically.

document here https://rstudio.github.io/DT/extensions.html at 8. Responsive

Thanks

@glin
Copy link
Owner

glin commented Aug 3, 2023

Hi, there's nothing specifically like this in reactable, but similar feature ideas do come up from time to time. Currently, the approach to responsively handling wide tables is to allow horizontal scrolling when all the columns don't fit. For example, see the Column Resizing and Sticky Columns examples. This is a simple solution that seems to work in most cases.

Besides that, reactable does have expandable row details but it's all-or-nothing, not something that can be toggled from page widths changing.

@glin glin added the enhancement New feature or request label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants