Export Div Data to Excel along with Image not working using "Table2Excel" Js
Export Div Data to Excel along with Image not working using "Table2Excel" Js
Hello,
Hope you are doing well.
I am using this functionality in ASP.net MVC.
I want to export my div content to excel along with images.
I had implemented "Table2Excel" js for the export purpose. but won't able to export an image that contains in the div section apart from the image I got all the details properly. but I am looking for some solutions where I can bind images in excel as well.
if you have any ideas or properties then please let me know.
The code is as below:
$("#btnExcel").click(function (e) {
$("#ExportEmployeeTable").table2excel({
exclude: ".noExl",
filename: "ListOfEmployees.xls",
exclude_img: true,
preserveColors: true
});
});
ExportEmployeeTable is my DIV ID I which my table and images took place. and I want to export all the data which contain in this
Section.
Div Content Data As follow:
Thank you in advance.
waiting for your reply.
Answers
This thread should help, it's asking the same thing.
Cheers,
Colin
Hy @colin
Thanks for update
but I am still looking for solutions that work for me to resolve the issue.