angular-data-grid / angular-data-grid.github.io

Light and flexible Data Grid for AngularJS applications.
http://angular-data-grid.github.io/demo/bootstrap/
112 stars 50 forks source link

Export Grid Data as CSV Fails for Large Files (Chrome) #58

Open elizabeth opened 7 years ago

elizabeth commented 7 years ago

Exporting large data sets as CSV gives a failed network error when attempting to download. This happens in Chrome, but not in Firefox.

Not sure why this happens but I was able to fix the issue by modifying the original code a bit as follows in this answer: https://stackoverflow.com/questions/39374157/angular-save-file-as-csv-result-in-failed-network-error-only-on-chrome

Another (possible) solution which I did not try may also be setting the content-length: https://stackoverflow.com/questions/39677280/chrome-failed-network-error