Jspdf-autotable: How I can remove or show icons in PDF

Created on 7 Feb 2020  路  2Comments  路  Source: simonbengtsson/jsPDF-AutoTable

When I export PDF using doc.autoTable({ html: ".MuiTable-root" }); the results is:
image

because my element in html is something like this:
image

How can I remove or show the chev/arrow icons when I export to pdf?

Thanks you!

question

All 2 comments

You can use the didParseCell hook to modify the content of the cell Before it is drawn. It's weird it transformed the icon to a name though.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings