downloadthis icon indicating copy to clipboard operation
downloadthis copied to clipboard

Add Crosstalk compatibility

Open tvroylandt opened this issue 5 years ago • 4 comments

Thanks for this nice package. It helps a lot !

Would it be possible to add compatibility with crosstalk to download a custom selection ?

This question is linked to https://github.com/glin/reactable/issues/11

Thanks !

tvroylandt avatar Aug 18 '20 08:08 tvroylandt

Hi, @tvroylandt!

Thanks for your message. Yeah, I remember seeing this comment a few months ago but I forgot to check it. Thanks for filling the issue, this is going to remind me to give it a try. I will keep you posted!

fmmattioni avatar Aug 18 '20 08:08 fmmattioni

I don't think you can integrate {download_this} with crosstalk, it would not help addressing https://github.com/glin/reactable/issues/11 , this would take another form. Crosstalk is to highlight or filter points across htmlwidgets which {download_this} is not.

JohnCoene avatar Aug 28 '20 19:08 JohnCoene

I think you just need to extract the dataframe from the crosstalk object (or use the data.frame that was used to create the crosstalk object) and pass that to download_this.

landisrm avatar Dec 14 '20 18:12 landisrm

Thanks @landisrm, I am going to take a look at it later this week..

fmmattioni avatar Dec 21 '20 09:12 fmmattioni