Save PDF of a table that has hyperlinks?

Save PDF of a table that has hyperlinks?

drclaytondrclayton Posts: 2Questions: 1Answers: 0

I have a table that has a column of hyperlinks. Is there a way for tabletools to save them to the pdf instead of just the text? I tried using fnCellRender with no luck.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin

    Currently no - sorry. The HTML is stripped out of the exported files.

    Allan

  • drclaytondrclayton Posts: 2Questions: 1Answers: 0

    how about preventing the stripping in the code? Could i do that in the datatables.tabletools.js file for example?

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin
    edited July 2015 Answer ✓

    Sure - remove this line.

    It won't be a hyperlink in the PDF though. You'd need to modify the AlivePDF library that TableTools uses to do that... I'm working on a new version that might make it easier - although it will still require some external code.

    Allan

This discussion has been closed.