Row Styling to Apply to Print View?
Row Styling to Apply to Print View?
zgoforth
Posts: 493Questions: 98Answers: 2
Link to test case: https://jsfiddle.net/BeerusDev/gm10rqp7/217/
Hello,
I was curious if there was a possibility that I could maintain my row styling when I print my table? Right now, it does not do that
This question has accepted answers - jump to:
Answers
Unfortunately no, you would need to apply the styling yourself using the PDFMake library. This example shows how you can change the colour, that may help,
Colin
@colin - wouldn't a print stylesheet in the original document do the trick?
I never seem to get around to trying print stylesheets - there's always more important stuff.
Thanks you two!!
For the print button (not pdf) we don't actually maintain the classes that are applied to the cells. Possibly we should, but at the moment you would need to use the
customize
callback to add the classes.With the classes in place, then yes, you could use a print stylesheet as @tangerine suggests.
Allan