Skip to content

Releases: simonbengtsson/jsPDF-AutoTable

v2.3.5

27 Aug 20:05
Compare
Choose a tag to compare

Bump

v2.3.4

28 May 21:21
Compare
Choose a tag to compare

Additional fix for JSPDF 1.4 (#359)

v2.3.3

24 May 07:31
Compare
Choose a tag to compare
  • Support for JSPDF 1.4

v2.3.2

23 May 14:16
Compare
Choose a tag to compare
  • Remove extraneous log
  • Add access to column definition through column.raw in hooks

v2.3.1

17 Jan 13:00
Compare
Choose a tag to compare

v2.3.0

11 Jan 17:33
Compare
Choose a tag to compare
  • Methods for setting global options added: jsPDF.autoTableSetDefaults({ ... })
  • Method for setting document default options added: doc.autoTableSetDefaults({ ... })
  • Use doc.autoTable.previous.finalY instead of doc.autoTableEndPosY
  • Use jsPDF.autoTableSetDefaults({addPageContent: function() {}}) instead of the doc.autoTableAddPageContent method.

v2.2.2

09 Jan 16:21
Compare
Choose a tag to compare
  • Support for table borders with the tableLineWidth and tableLineColor options. Note that they are options and not styles.

v2.2.0

09 Jan 13:19
Compare
Choose a tag to compare
  • Support for all units
  • Added option: showHeader: 'everyPage'|'firstPage'|'never'
  • When using autoTableHtmlToJson the cell.raw property in hooks is now set to the html cell element
  • Now splits row when to big to fit page.
  • Fixed that cursor was not reset between new documents.
  • Added support for vertical padding (use instead of the rowHeight style)
  • Deprecated doc.autoTableAddPage in favour of data.addPage() in hooks
  • Changed from elem.textContent to elem.innerText

v2.1.0

01 Nov 20:13
Compare
Choose a tag to compare

Before this release there were three different hooks to add content to pages: afterPageContent, beforePageContent and afterPageAdd. As they were basically doing the same thing it was confusing and they are now deprecated in favor of the addPageContent hook.

One new helper method autoTableAddPageContent is also added to make it easier to have the same page content added with multiple autotables in a document.

v2.0.36

19 Oct 16:10
Compare
Choose a tag to compare

Removes the confusing fillStyle style and derive it from lineWidth and fillColor instead. This enables a transperant table with no borders.