Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: I need to customize the button export to excel and add some images to the exported file. Has anyone managed to achieve that?
How can i add an image (company logo) before the datatable when I export the data to excel? Is there any sample code? I don't understand how to use striphtml in this case. I need to display the image not only the URL to the image.
The first set would be to read through the Open Spreadsheet specification to understand how images should be embedded into such a file. You could also create an XLSX file and inspect its raw XML and file structure to understand how Excel itself does it.
It's not something we've done, so it would need that kind of investigation.
Answers
This thread should help, it's asking the same thing.
Cheers,
Colin
How can i add an image (company logo) before the datatable when I export the data to excel? Is there any sample code? I don't understand how to use striphtml in this case. I need to display the image not only the URL to the image.
As Allan said in that thread:
It's not something we've done, so it would need that kind of investigation.
Colin