Need a special offer?Find out if your project fits.
+

combine columns into single row while exporting

Answered
Ravi Kumar asked on July 11, 2020

Hi,in
If the number of columns are 100 then while exporting to PDF only 'X' columns are displayed in 1st page and '100-X' columns are moving to 2nd page, but i need all the columns in one place is there any solution?
Is it possible to combine the 2nd page columns with 1st page columns of same row?

3 answers

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster July 17, 2020

Hi Ravi,
 
Thank you for posting your question.
 
A similar question has been discussed on our forum before – feel free to check out the corresponding forum thread.
 
As you can see in the mentioned thread, in such cases it is suggested to simply use a bigger page format to include more columns in one page when exporting to PDF. Alternatively, you are free to implement your own export handler that would suit your particular use case.
 
We hope this helps.
 
Best regards,
Mykhailo

Public
Ravi Kumar July 17, 2020

Hi Mykhailo,
Thank you for the reply.
 
I've seen that discussion earlier itself, but even trying with paper size A1 columns are moving to 2nd page due to large number of columns.
As you suggested for the earlier discussion to try exporting to HTML and converting into PDF, it doesn't support our case we need to export directly to PDF without moving rest columns to 2nd page.
Is there any other solution?
 
Regards,
Ravi Kumar

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster July 27, 2020

Hi Ravi,
 
For your custom export to PDF implementation, we would suggest considering the jsPDF library, which is one of the modules used in Flexmonster for exporting. 
 
Here is a link to detailed documentation that will help you implement your own PDF export handler with jsPDF: https://rawgit.com/MrRio/jsPDF/master/docs/
 
Regards,
Mykhailo

Please login or Register to Submit Answer