wnabil / ngx-export-as

Angular 2+ / Ionic 2+ HTML/table element to export it as JSON, XML, PNG, CSV, TXT, MS-Word, Ms-Excel, PDF
MIT License
68 stars 40 forks source link

pagebreak #19

Closed salamkg closed 5 years ago

salamkg commented 5 years ago

can't understand how to fix page breaks. I have multiple pages of data but some pages break data so they remain separated into two parts on previous page and next page

wnabil commented 5 years ago

Hi, which format you are talking about ?

salamkg commented 5 years ago

pdf format. I tried some samples but nothing helped, maybe I used it incorrectly

wnabil commented 5 years ago

Please check for html2pdf library options and pdfjs for custom options as well, this library doesn't have any configuration to manage it and sadly i do not know how to do it. https://github.com/eKoopmans/html2pdf.js