I am having trouble about filling a body of jsPDF-autotable. Can I loop something like this?
doc.autoTable({
head: [this.pdf_head],
body: [
for(let i = 0; i < this.generated_table.length; i++)
{
for(let j = 0; j < this.generated_column.length; j++)
{
[this.pdf_body[i][j]];
}
}
],
})
I am using vs-table so I can't use the html format. This code is not currently working but is there a way to do it something like this? Thanks!