on 12-03-2015 2:29 PM
Hi all,
Table.exportData().saveFile() now writes "sep=," at the beginning of the CSV file, in older versions this was not the case. Is there a way to get rid of this?
Cheers,
-- Micha
What UI5 version are you using? It appears to work at
without issue, which is version 1.32.7.
Regards,
Jamie
SAP - Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've realized the only workaround is to replace the function, so for the record,
sap.ui.core.util.ExportTypeCSV.prototype.generate = function() {
var aBuffer = []; |
this.generateColumns(aBuffer);
this.generateRows(aBuffer);
return aBuffer.join('\n');
}
does the trick, however first Export.js must be loaded, which is the case only after calling exportData().
-- Micha
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.