Answer the question
In order to leave comments, you need to log in
save in excel using javascript?
In general, I save data in excel using the function
window.open('data:application/vnd.ms-excel,' + '5620140829152611');
data:application/vnd.ms-excel
so that all cells in excel are initially in text format?
Answer the question
In order to leave comments, you need to log in
You are not generating a valid Excel file, but hacking it.
In this case, no options can be passed, because they are stored in the internal structure of the file, and you have no structure.
The only way is to use another hack:
window.open('data:application/vnd.ms-excel,' + "'5620140829152611'");
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question