npm jspdf-autotable 2.0.0
Version 2.0

latest releases: 3.8.2, 3.8.1, 3.8.0...
8 years ago

A lot have changed in this release. Under the hood most code is rewritten and some additions, improvements and changes have been made to the public api to make it easier to use. New features include:

  • Styling
  • Themes
  • Hooks

If you are upgrading to 2.x from 1.x keep those things in mind:

  • Use the hooks (or styles and themes) instead of renderCell, renderHeaderCell, renderFooterand renderHeader
  • Custom column width now specified with the style columnWidth
  • Use tableWidth instead of extendWidth
  • Use columnWidth: 'wrap' instead of overflowColumns
  • Use pageBreak instead of avoidPageSplit
  • Use margin instead of margins
  • autoTableHtmlToJson now always returns an object with seperate columns and rows properties
  • Use API.autoTableEndPosY() instead of API.autoTableEndPos()

Don't miss a new jspdf-autotable release

NewReleases is sending notifications on new releases.