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

Initial expanded rows #23

Closed
jienagu opened this issue Dec 18, 2019 · 5 comments
Closed

Initial expanded rows #23

jienagu opened this issue Dec 18, 2019 · 5 comments

Comments

@jienagu
Copy link

jienagu commented Dec 18, 2019

Hi @glin ,

Congratulations on your wonderful R package!! I am a big fan of your package now! I really like the features that we can have the rows collapsible with adding detail(). I have one questions that if there is a way to default the rows as expanded initially so users can see all details without clicking each rows?

Thanks!

@glin
Copy link
Owner

glin commented Dec 24, 2019

Hi, thanks for the suggestion. Would you like to have all rows expanded at once -- something like reactable(defaultExpanded = TRUE) -- or the ability to select which rows are expanded? Either way is possible, but implementing the latter might get pretty complicated.

@jienagu
Copy link
Author

jienagu commented Dec 30, 2019

Hi @glin , thanks for giving me suggestions! The first option (reactable(defaultExpanded = TRUE)) should be good enough. Is defaultExpanded already a parameter in the reactable package? Thanks again!

@glin
Copy link
Owner

glin commented Dec 31, 2019

I've added a reactable(defaultExpanded = TRUE) option to the development version on GitHub. Check out https://glin.github.io/reactable/articles/examples.html#default-expanded-rows for an example, and let me know if you run into any issues.

@jienagu
Copy link
Author

jienagu commented Dec 31, 2019

Wow!!! That works like a magic! Thanks for adding it! I appreciate your help! This is an AMAZING package!

@zdenkoG
Copy link

zdenkoG commented Jan 8, 2020

Hi @glin !

I am amazed with package too; it is really great! :)
But it would be also great if it would be possible to expand just single row… Thanks!!

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

3 participants