How to create Print or PDF of table containing images

How to create Print or PDF of table containing images

pmconsultingpmconsulting Posts: 36Questions: 11Answers: 0

Link to test case: https://database.rpespud.com/print-quote/?post_ids=2294
Debugger code (debug.datatables.net): n/a
Error messages shown: n/a
Description of problem:
My datatable contains images in each row. I want users to be able to save a copy of the table. If I add a Print or a PDF button, neither of those options include the images - only the text of the table. How do I fix it?

Answers

  • colincolin Posts: 15,146Questions: 1Answers: 2,586

    Have you resolved this? I just tried it and I'm seeing the image with the image name both appearing in the printed document?

    Colin

  • pmconsultingpmconsulting Posts: 36Questions: 11Answers: 0

    I found some examples that got me this far.

    How do I suppress the text in parenthesis? Can I display the images without the links? Also, can I display the Variety column without the text in parenthesis?

    Thanks.

  • colincolin Posts: 15,146Questions: 1Answers: 2,586

    I just checked again, and it looks like you've done both of those things - there isn't a variety column, and the link is present.

    You can use orthogonal data to alter how it appears, both in the table and the export. This thread here demonstrates that,

    Colin

Sign In or Register to comment.