Re: [R] datatable using dt not able to print background colors

2022-12-18 Thread Valentin Petzel
Hello Matt, I do not think that this is the best place for troubleshooting Chrome issues. If your html file shows the colors but print doesn't then the page probably uses different stylesheets for display and print. You might want to inspect the html for something like this. If you need help, t

Re: [R] datatable using dt not able to print background colors

2022-12-17 Thread CALUM POLWART
I don't think this is an R issue, it's a HTML tables issue // browser issue. There are some hacks using background image (not R specific). BUT before you do any of this... Consider if colour is your answer! 8% of males are colour blind, so your table isn't as accessible as you may think it is. T

[R] datatable using dt not able to print background colors

2022-12-16 Thread Matthew Pirritano
Hey, all! I've got a report that uses datatable from DT to create an rmarkdown html that looks great as an html but when I try to print it, to a printer, or to a pdf the colors I've assigned to cells are not displaying. I'm using chrome and I've clicked on the Background graphics button there,