I want to export the pdf with its icons in the columns. For this I am using this code

I want to export the pdf with its icons in the columns. For this I am using this code

GoluGolu Posts: 2Questions: 1Answers: 0
edited March 2022 in Free community support

tableData = $("#tableData").Datatable
({
dom: 'flBrtip',
buttons:
[{
extend: 'pdfHtml5',
text: 'Pdf',
exportOptions
{
stripHtml : false
}
}]
})

But on the place of the icon it is showing its html

Answers

  • GoluGolu Posts: 2Questions: 1Answers: 0
    edited March 2022

    Can anybody tell how to fix this

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    I suspect you haven't included the CSS. We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

Sign In or Register to comment.