'Columns get cut off on pdfmake

I am using pdfmake for generating a report as a table format. The table column has more than 10 columns so only 5 columns are displayed I want to cut off the remaining column and display next page on reaming columns. Thanks in advance.

enter image description here



Solution 1:[1]

Instead of cutting off the remaining column and displaying them on next page, change the pageOrientation to landscape. You can do it as follow:

pageSize: 'A4',
pageOrientation: 'landscape',

Even If this does not solve your issue then also adjust fontsize of your columns.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 H S Progr