Skip to content

Releases: simonbengtsson/jsPDF-AutoTable

v2.3.0

Choose a tag to compare

@simonbengtsson simonbengtsson released this 11 Jan 17:33
  • 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

Choose a tag to compare

@simonbengtsson simonbengtsson released this 09 Jan 16:21
  • Support for table borders with the tableLineWidth and tableLineColor options. Note that they are options and not styles.

v2.2.0

Choose a tag to compare

@simonbengtsson simonbengtsson released this 09 Jan 13:19
  • 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

Choose a tag to compare

@simonbengtsson simonbengtsson released this 01 Nov 20:13

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

Choose a tag to compare

@simonbengtsson simonbengtsson released this 19 Oct 16:10

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

v2.0.35

Choose a tag to compare

@simonbengtsson simonbengtsson released this 05 Oct 20:14

Updates jspdf version to 1.3.

v2.0.34

Choose a tag to compare

@simonbengtsson simonbengtsson released this 16 Sep 10:49

Fix for #147

2.0.32

Choose a tag to compare

@simonbengtsson simonbengtsson released this 27 Jul 13:11
  • Module bundler fixes and examples added (requirejs, browserify and webpack)
  • Column index property added to be used in hooks like this data.column.index

v2.0.28

Choose a tag to compare

@simonbengtsson simonbengtsson released this 20 Jul 15:26

Added helper method autoTableAddPage

v2.0.25

Choose a tag to compare

@simonbengtsson simonbengtsson released this 04 May 14:42

Now hides columns as well rows by default in the autoTableHtmlToJson. This feature can be disabled by passing true as the second parameter.