简体   繁体   中英

Is it possible to show/hide table rows with markdown in R

I output a html file using rmarkdown package. In the medium of html file, there is a big table which consumes a lot of page area, so I want to collapse the big table and allow the user to use the drop down to view the table. Do you have any methods to insert a dynamic table which can hide/show rows and output other tables and graphs(using markdown) together into one html file ?

Would the following solution be an alternative solution for you? I find it to be helpful to me anyway. Share it with you, hopefully it is a trick.

https://github.com/rstudio/gt/issues/2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM