reactable icon indicating copy to clipboard operation
reactable copied to clipboard

Download Link into cell in reactable, in column as html

Open henrique1008 opened this issue 3 years ago • 1 comments

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 ?

henrique1008 avatar Oct 27 '23 20:10 henrique1008

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: https://github.com/glin/reactable/issues/310#issuecomment-1407768327

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

glin avatar Nov 06 '23 03:11 glin