odealab / coralbook

https://bookdown.org/odealab/coralbook
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Allow to scroll tables horizontally #13

Open maurolepore opened 7 years ago

maurolepore commented 7 years ago

@melisacbl,

Please try to find the way to allow scrolling horizontally the DT tables.

I have made ccsig a book chapter sensu stricto. It was dead easy. If ccsig could be a .html, then there is no reason why it could not be made a chapter of the coralbook. If you are curious, note the commits since last release to see what changed.

I will work on #12.

At this stage I think you should not worry to make the tables look pretty. Just allow the user to see all the info available. Maybe try knitr::kable() instead of DT tables. It may not look as pretty but may work. knitr::kable() was the first table-maker that the bookdown incorporated, because the developer of knitr and bookdown is the same person. At this stage, I think you should not worry about making it pretty or perfect. Remember this is a draft. We need to get all first, then to make it better.

Cheers, M