datatable export to excel give error excel found unreadable content in xxx.xlsx file
datatable export to excel give error excel found unreadable content in xxx.xlsx file
majahar
Posts: 1Questions: 1Answers: 0
Hi,
I added export to excel button in datatable. but sometimes after downloading excel it cant open it and gives error "excel found unreadable content in xxxx.xlsx. Do you want to recover content of this file". I cant find for which character it is giving this error.
How to resolve it.
Thanks.
This discussion has been closed.
Answers
I had the same issue. I am using php and had to use htmlentities() around the value coming into my table cell/s. This solved it for me.
Happy to take a look if you post a link to a test case please. This should have been addressed in the latest versions of Buttons.
Allan