Hi Jens,
Thanks for contacting Syncfusion Forums.
QUERY: set margin for printing
From your query we understand that you need to set margin to the grid while printing it. As you have tried, you can use beforePrint event and set css for the grid.
In the beforePrint event, the argument has the page element to which you can set style.
Please refer the below code,
<script>
function beforePrint(args) {
args.element[0].style.margin = "70px";
}
</script>
|
If you have further queries, please get back to us.
Regards,
Padmavathy Kamalanathan