printView() css

How do I override default styling of printView() table? For instanse, I would like to change td padding - but it’s value is hardcoded into the element.style.

You can use first parameter of printView() method:

mygrid.printView(‘yor styles here’);

Year, that’s fine, but you can’t really override element style attribute with css. And some styles are hardcoded into elements based on some config that I’m looking for. This is what gets rendered:

<td style="padding-left: 2px; padding-right: 2px; text-align: left;">some text</td>

I need to override these styles, e.g. ‘padding’.