How can I prevent the table data going out of page when using export feature in datatable?

How can I prevent the table data going out of page when using export feature in datatable?

java977java977 Posts: 7Questions: 3Answers: 0

When using PDF and Print option in Datatable, the data is not fitting on the page and it is going out of the paper size due to long words on the table column. Is there a way to set the fixed column width and make the word wrap when using the export feature?
Any idea will be very helpful.
Thank you

Answers

  • allanallan Posts: 63,075Questions: 1Answers: 10,384 Site admin

    Currently no - sorry. The only real option I'm aware of is to make it landscape and / or reduce the font size. A bit rubbish I realise, but the pdfmake layout doesn't cope well with wide tables. There might be a word wrap option with their API but I'm not aware of it. If you find one, it would be great if you could post back so others can benefit from the knowledge (me included!).

    Allan

This discussion has been closed.