I have two tables and I need to put them next to each other. For example purposes, I used the same dataset, but the table on the left side might have a few more rows.
I found several examples, but I couldn't find a way to get what I expected.
jsPDF v2.3.1
const doc = new jsPDF('p', 'mm', 'A4');
doc.autoTable({
head: [['ID', 'Name', 'Country']],
body: [['1', 'Simon', 'Sweden'], ['2', 'Karl', 'Norway']],
margin: {left: 120}
});
doc.autoTable({
head: [['ID', 'Name', 'Country']],
body: [['1', 'Simon', 'Sweden'], ['2', 'Karl', 'Norway']],
margin: {
// top: 80, // test
right: 120
},
});

