jspdf online demo

Solutions on MaxInterview for jspdf online demo by the best coders in the world

showing results for - "jspdf online demo"
Maria
10 May 2020
1var doc = new jsPDF();
2doc.autoTable({
3  columnStyles: { europe: { halign: 'center' } }, // European countries centered
4  body: [
5    { europe: 'Sweden', america: 'Canada', asia: 'China' },
6    { europe: 'Norway', america: 'Mexico', asia: 'Japan' },
7  ],
8  columns: [
9    { header: 'Europe', dataKey: 'europe' },
10    { header: 'Asia', dataKey: 'asia' },
11  ],
12})