I'm trying to generate pdf files using pdf make. But when I define a column I can't add more than one element to that column. I want to add a table and a separate text. But text doesn't appear in the generated pdf file.
This is my code.
columns: [
{
text: `Timesheet${timesheet}\n`
},
{
text: `Rate${rate}\n\n`
},
{
text: "Amount Due",
table: {
body: xyz
}
}
]
Here table appears but the text Amount Due doesn't appear.
How do I fix this?