GitHub
github.com › simonbengtsson › jsPDF-AutoTable
GitHub - simonbengtsson/jsPDF-AutoTable: jsPDF plugin for generating PDF tables with javascript
--></table> autoTable(doc, { html: '#my-table' }) // Or use javascript directly: autoTable(doc, { head: [['Name', 'Email', 'Country']], body: [ ['David', '[email protected]', 'Sweden'], ['Castille', '[email protected]', 'Spain'], // ... ], }) doc.save('table.pdf') You can also use the plugin methods directly on the jsPDF documents:
Starred by 2.5K users
Forked by 637 users
Languages TypeScript 89.5% | HTML 7.6% | JavaScript 2.9%
GitHub
github.com › JonatanPe › jsPDF-AutoTable
GitHub - JonatanPe/jsPDF-AutoTable
Check out the demo to get an overview of what can be done with this plugin. Example uses include participant tables, start lists, result lists etc. Download and include jspdf.plugin.autotable.js and jspdf.min.js.
Starred by 17 users
Forked by 4 users
Languages TypeScript 81.5% | JavaScript 18.5%
Videos
07:19
jsPDF-Autotable Tutorial to Insert Array of JSON Objects Data ...
10:23
jsPDF Tutorial to Export HTML Table to PDF Document Without ...
12:28
jsPDF-Autotable Project to Add Images inside Table Rows ...
jsPDF-Autotable Tutorial to Add Dynamic Tables in PDF ...
14:12
jsPDF-Autotable Tutorial to Add Dynamic Nested HTML5 ...
07:18
How to Add Tables to PDF Document Using jsPdf Autotable ...
npm
npmjs.com › package › jspdf-autotable
jspdf-autotable - npm
This jsPDF plugin adds the ability to generate PDF tables either by parsing HTML tables or by using Javascript data directly. Check out the demo or examples. Get jsPDF and this plugin by doing one of these things: npm install jspdf jspdf-autotable ...
» npm install jspdf-autotable
Published Feb 26, 2025
Version 5.0.2
Author Simon Bengtsson
Simonbengtsson
simonbengtsson.github.io › jsPDF-AutoTable
AutoTable sample - GitHub Pages
It appears you don't have PDF support in this web browser. Click here to download the PDF
GitHub
github.com › simonbengtsson › jsPDF-AutoTable › blob › main › README.md
jsPDF-AutoTable/README.md at main · simonbengtsson/jsPDF-AutoTable
jsPDF plugin for generating PDF tables with javascript - jsPDF-AutoTable/README.md at main · simonbengtsson/jsPDF-AutoTable
Author simonbengtsson
Top answer 1 of 6
64
I spent a lot of time looking for a good representation of my tables, then I found this plugin (https://github.com/simonbengtsson/jsPDF-AutoTable), It works great, includes themes, rowspan, colspan, extract data from html, works with json, you can also personalize your headers and make them horizontals.
The image below is an example:
2 of 6
2
You have to use something like -- doc.setLineWidth(2);
for line border.. Please look the following for sample code
How to set column width for generating pdf using jsPDF
GitHub
github.com › Walah › ConvertSingleOrMultipleTableToPDF
GitHub - Walah/ConvertSingleOrMultipleTableToPDF: This example converts (single or multiple) HTML table(s) to PDF using the jsPDF autotable plugin
This example converts (single or multiple) HTML table(s) to PDF using the jsPDF autotable plugin - Walah/ConvertSingleOrMultipleTableToPDF
Author Walah
GitHub
github.com › simonbengtsson › jsPDF-AutoTable › blob › master › examples › local › basic.html
jsPDF-AutoTable/examples/local/basic.html at master · simonbengtsson/jsPDF-AutoTable
jsPDF plugin for generating PDF tables with javascript - jsPDF-AutoTable/examples/local/basic.html at master · simonbengtsson/jsPDF-AutoTable
Author simonbengtsson
UNPKG
unpkg.com › browse › [email protected] › README.md
jspdf-autotable
 ### Install Download and include [jspdf.plugin.autotable.js](https://raw.githubusercontent.com/someatoms/jsPDF-AutoTable/master/dist/jspdf.plugin.autotable.js) and [jspdf.min.js](https://raw.githubusercontent.com/MrRio/jsPDF/master/dist/jspdf.min.js).
GitHub
github.com › simonbengtsson › jsPDF-AutoTable › blob › master › index.html
jsPDF-AutoTable/index.html at master · simonbengtsson/jsPDF-AutoTable
jsPDF plugin for generating PDF tables with javascript - jsPDF-AutoTable/index.html at master · simonbengtsson/jsPDF-AutoTable
Author simonbengtsson
GitHub
github.com › andrefurlan › htmlTableToPDF
GitHub - andrefurlan/htmlTableToPDF: JsPDF plugin to insert html tables in pdf
JsPDF plugin to insert html tables in pdf. Contribute to andrefurlan/htmlTableToPDF development by creating an account on GitHub.
Author andrefurlan
GitHub
github.com › vinodkumarpottupalli › jsPDF-AutoTable › commit › 029cc50ed2ebbf14bbdf5c89f7915f18f9a39c99
2.1.0 · vinodkumarpottupalli/jsPDF-AutoTable@029cc50
November 1, 2016 - jsPDF plugin for generating PDF tables with javascript - 2.1.0 · vinodkumarpottupalli/jsPDF-AutoTable@029cc50
Author vinodkumarpottupalli
Medium
medium.com › @charkins.dev › build-a-custom-table-with-react-jspdf-7d43729f6d70
Build a custom table with React/jsPDF | by Cory Harkins | Medium
January 29, 2020 - This is just a bare bones table for you to hack on/improve as your needs require. For further examples of the api please visit the jsPDF docs: Home — Documentation · For the full project tutorial files: GitHub — cjharkins/jspdf-tutorial-charkins · Feel free to leave a comment below of how to make this better or how you’ve implemented it into your own project!
GitHub
github.com › topics › jspdf-autotable
jspdf-autotable · GitHub Topics · GitHub
Next.js PDF solution integrating jsPDF-AutoTable with CJK font support, interactive PDF preview - A reliable PDF table generation template for web applications.