Im trying to print a dashboard. I have setup a container with an id to be able todo so.
The printing does work, but it ends up ignoring all set styles and also the Grid layout.
How can I get it to print with the Bootstrap grid and styling? Styles are located in a separate css file.
printDashboard(){
let printContents = document.getElementById('dashboard_container').innerHTML;
let w = window.open();
w.document.write(printContents);
w.print();
w.close();
},