I have a script that does not accept html or libraries. I can export to csv with this code https://code-maven.com/create-and-download-csv-with-javascript and it works , but the problem is i need xlsx format to do cells with format. Any idea?
Thanks!
I have a script that does not accept html or libraries. I can export to csv with this code https://code-maven.com/create-and-download-csv-with-javascript and it works , but the problem is i need xlsx format to do cells with format. Any idea?
Thanks!
Thanks, but i cant use html code.
<input type="button" id="test" onClick="fnExcelReport();" value="download" />
<div id='MessageHolder'></div>
<a href="#" id="testAnchor"></a>
I replaced the button with a function and confirm.
function alert() {
var option = confirm("¿DOWNLOAD XSL?");
if (option == true) {
fnExcelReport();
}
}
alert();
but i dont know how replace this part with javascript
<div id='MessageHolder'></div>
<a href="#" id="testAnchor"></a>