Releases: simonbengtsson/jsPDF-AutoTable
Releases · simonbengtsson/jsPDF-AutoTable
v2.3.5
Bump
v2.3.4
v2.3.3
- Support for JSPDF 1.4
v2.3.2
- Remove extraneous log
- Add access to column definition through
column.raw
in hooks
v2.3.1
Fix for multi page horizontal tables, see http://stackoverflow.com/questions/41686658/jspdf-autotable-how-do-i-display-two-tables-side-by-side-that-span-multiple-pag
v2.3.0
- Methods for setting global options added:
jsPDF.autoTableSetDefaults({ ... })
- Method for setting document default options added:
doc.autoTableSetDefaults({ ... })
- Use
doc.autoTable.previous.finalY
instead ofdoc.autoTableEndPosY
- Use
jsPDF.autoTableSetDefaults({addPageContent: function() {}})
instead of thedoc.autoTableAddPageContent
method.
v2.2.2
- Support for table borders with the
tableLineWidth
andtableLineColor
options. Note that they are options and not styles.
v2.2.0
- 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 ofdata.addPage()
in hooks - Changed from elem.textContent to elem.innerText
v2.1.0
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
Removes the confusing fillStyle style and derive it from lineWidth
and fillColor
instead. This enables a transperant table with no borders.