Jspdf-autotable: Node.js support

Created on 7 Nov 2019  路  3Comments  路  Source: simonbengtsson/jsPDF-AutoTable

jsPDF now has a separate distribution file for node.js, but jspdf-autotable does not support that. It adds the add-on to the regular version causing "doc.autoTable is not a function" error . jspdf-autotable needs to load the correct distribution file and add the add-on there when used under node.js.

The node examples work with the regular version but not with the node version. For some reason, however, my own tests cause "ReferenceError: Blob is not defined" with the regular version. Not sure what in my code causes jsPDF to use Blob, but Blob is only available in browsers, not in node.js.

enhancement help wanted

Most helpful comment

Implemented in #612

All 3 comments

working on it with @ssmiech

jspdf-auotable is not working in angular 8. Is it not supported in version 8. when i included it in project, it gives no error but no detection of auto-table, just blank page is printed. Can somebody have idea how to use it in angular 8.

Implemented in #612

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Alorse picture Alorse  路  4Comments

ayozebarrera picture ayozebarrera  路  3Comments

ayman-aljullaq picture ayman-aljullaq  路  5Comments

simonbengtsson picture simonbengtsson  路  5Comments

cplaiu picture cplaiu  路  3Comments