Open zxan2 opened 9 months ago
I've implemented PDF reports generation based on DataLens dashboards using Puppeteer. There are several major obstacles in this approach.
.react-grid-layout
..dash-tabs
element breaks PDF page width in case of a dashboard with multiple tabs. So it should be removed from the page before executing page.pdf()
(although in my opinion horizontal tabs list is pointless in case of PDF reports, so that's a good thing that they should be removed).It is also possible to remove some buttons from web page before rendering it as PDF.
добрый день, была бы полезна функциональность печати дашбоардов и экспорта как pdf