ThomasSiegmund / D3TableFilter

A table widget based on Max Guglielmi's "HTML Table Filter Generator" and D3.js
Other
65 stars 17 forks source link

How to save stand-alone html from R D3TableFilter #19

Open qindan2008 opened 7 years ago

qindan2008 commented 7 years ago

Hi, How to save D3TableFilter output to stand-alone html table with R not in shiny envirement ? Thank you very much !

Qin

ThomasSiegmund commented 7 years ago

Hi,

you can save a table using saveWidget from htmlwidgets. But you need to set the selfcontained option to FALSE. This results in all the javascript libraries put into a separate directory. Making a completely selfcontained table in one html file doesn't work due to the icons included in TableFilter. Pandoc does not support embedding of binary files.

Thomas