How to export the large number of column in PDF file ?

How to export the large number of column in PDF file ?

jquerydatatablejquerydatatable Posts: 5Questions: 0Answers: 0
edited August 2013 in TableTools
Hello ,

I have datatable with 25 columns and have to use horizontal bar to view the all columns. I have did the Excel export, its working good and same as did PDF export , but starting columns are over righted in the PDF file.So do you any options to accommodate all the columns in PDF file ?

Please advise...

Replies

  • allanallan Posts: 63,679Questions: 1Answers: 10,498 Site admin
    There isn't really an option for this at the moment. You can rotate the page so it is landscape using the sPdfOrientation option ( https://github.com/DataTables/TableTools/blob/master/media/js/TableTools.js#L2210 ), but I'm afraid that is really as good as it gets at the moment.

    If you want more advanced PDF export options, it really needs to be done on the server since the AS£ PDF library is rather limited. Also, even then, I'm not entirely sure how you would cope with a table which is to wide for the page... How would you want to do it?

    Allan
This discussion has been closed.