Background color on print export
Background color on print export

Hi
I have a datatable with background colors in cells. But on print, it does not show the background color.
this is how I am doing in print customize function:
$(win.document.body).find('table.css('background-color', '#cccccc');
Thanks.
Usama
This discussion has been closed.
Answers
$(win.document.body).find('table tbody td').css('background-color', '#cccccc');
Hi @osamajaved ,
This example might help, if you haven't worked it out already.
Cheers,
Colin