1

I have a UI-Grid and i need to export it to CSV. The problem is that the export has a comma (",") delimiter and for european versions of excel, I need a semicolon (";") delimiter. Is there any way i can set the csv delimiter in Ui-Grid, or to add an extra-line ("sep=;") to the csv file ?

1 Answer 1

4

Within your controller set the gridOptions exporterCsvColumnSeparator variable to ";".

$scope.gridOptions.exporterCsvColumnSeparator = ';';

See here at line ~210 for the relevant ui-grid/exporter.js code

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.