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

Download Link into cell in reactable, in column as html #345

Open
henrique1008 opened this issue Oct 27, 2023 · 1 comment
Open

Download Link into cell in reactable, in column as html #345

henrique1008 opened this issue Oct 27, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@henrique1008
Copy link

henrique1008 commented Oct 27, 2023

https://stackoverflow.com/questions/73997808/how-to-use-downloadhandler-for-download-buttons-create-inside-shiny-reactable

I need to insert a download button into reactable, in column as html

but i don´t know how to make this work into shiny

It´s possible ?

@glin
Copy link
Owner

glin commented Nov 6, 2023

Hi, so Shiny inputs/outputs are supported out-of-box by the custom row details, but not cells yet. I wanted to add support within cells at some point but I think it was just too rare of a use case.

For now, there are a few ways to achieve similar things to DT's preDrawCallback/drawCallback. I wrote up the options in a different issue, so I'll just link that: #310 (comment)

You might have the best luck trying out the Reactable.onStateChange() method.

@glin glin added the enhancement New feature or request label Nov 6, 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