pdfhtml5 table width

pdfhtml5 table width

jpveldtman@gmail.comjpveldtman@gmail.com Posts: 1Questions: 1Answers: 0

Hi All,
I've added the new buttons plugin and came right with exporting the data to PDF/Excel. However, the size of the Table on the PDF is very small(about 50%width of page), is there any way i can set the width to 100% or something for the entire page. Any idea when CSS implementation will be available, as i have custom images etc in my table,but this just doesn't show up. I've used html2canvas and adding to JSPDF, but filesize is to big and want to stick to one solution.
Thanks in advance!

Answers

  • allanallan Posts: 63,161Questions: 1Answers: 10,406 Site admin
    edited August 2015

    I posted a question about this in the PDFMake repo back when I started using PDFMake. It hasn't had a reply yet.

    any idea when CSS implementation will be available, as i have custom images etc in my table,but this just doesn't show up

    I'd be surprised if it ever does, but that is one for the PDFMake author. Most likely you'll need to modify the PDF like in this example. The PDFMake documentation will have more info.

    Allan

This discussion has been closed.