javascript - How to set delimiter while exporting html table to xls file, so that it won't ask for delimiter separately when opening file with openOffice calc? -


javascript code generate xls file

// string obtained in xls file in different columns var exportstring = 'source1; 240; a/v signal drop out; 15';   // creating anchor tag var = document.createelement('a');     a.href = 'data:attachment/xls,' + exportstring;     a.target = '_blank';     a.download = 'filename.xls';     document.body.appendchild(a);     a.click(); 

you may have different delimiters not doing wrong open office needs know should used delimiter.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -