The datatable rendered table does not print a background color.

The

page is now the data loaded with the datatable plug-in, the added background color, which now needs to be printed out, but the added background color has no effect on print preview? Is there any good way to solve it?

clipboard.png

clipboard.png

clipboard.png

even if you add an inline style print like this in figure 3, you won"t be able to print a color.

Mar.03,2021

add this css:-webkit-print-color-adjust: exact; try


refer to this to see if it helps

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2b4f4-2b2d2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2b4f4-2b2d2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?