Search code examples
javascriptjspdfjspdf-autotable

Adjust text autotable jspdf


I'm using JSPDF Autotable, but I have a problem, I can not find a way to adjust the text of the cells.

There is some property to adjust the text (vertical, horizontal) of the cells.

Link image


Solution

  • You can align text with the styles halign and valign https://github.com/simonbengtsson/jsPDF-AutoTable#styles