Is there a way to just get the CSV data without downloading? #4902
nurgeldiserikbay
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
return result data in function exportToCSV
if in this function some parameter true csv will download, if false just return. true by default
result += rows.join(lineDelimiter);
if (download) this.triggerDownload('data:text/csv; charset=utf-8,' + encodeURIComponent(universalBOM + result), fileName ? fileName : w.config.chart.toolbar.export.csv.filename, '.csv');
else return result
Beta Was this translation helpful? Give feedback.
All reactions