So will this let me make a csv file in JavaScript and actually then let the user download it as a file?
That would really simplify a lot of my workflows instead of having to make separate csv and HTML views I django.
That would really simplify a lot of my workflows instead of having to make separate csv and HTML views I django.
We have an internal application which requires CSV export, we use something like this:
csv = cleanTurkishChars(makeCSV(data));
csv = 'data:application/csv;charset=utf-8,' + encodeURIComponent(csv);
$("#csvexport").attr({
'href': csv,
'target': '_blank'
});