Download excell/csv
Download excell/csv

That is a bizarre issue. I've a report with excel/csv/pdf buttons. All works fine on Firefox, but I got the above error in Chrome
dataTables.min.js:4 Uncaught RangeError: Maximum call stack size exceeded
at new U (dataTables.min.js:4:45022)
at U.iterator (dataTables.min.js:4:46266)
at U.<anonymous> (dataTables.min.js:4:64676)
at U.render (dataTables.min.js:4:47136)
at u (dataTables.buttons.min.js:4:25291)
at U.<anonymous> (dataTables.buttons.min.js:4:23406)
at Function.exportData (dataTables.min.js:4:47136)
at U.action (buttons.html5.min.js:8:23806)
at U.action (exec_reports.js:349:64)
at a (dataTables.buttons.min.js:4:6771)
at dataTables.buttons.min.js:4:6949
I can not provide the URL, the site is private
Any clue will be appreciated.
Answers
This example works with Chrome. The same error was reported in this thread. Seems like Allan has addressed the issue in Datatables 2.1.9. Current version out is 2.3.2. What versions of Datatables and buttons are you using? Do you have a large dataset or number of columns?
If you are using the latest versions then this might be a new error that will need debugging with a test case showing the issue.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
I'll check, thanks!
I've updated to the latest version and it works.

The only weird thing is that I got the 'Processing icon' always over the button I hit.
This is the console
buttons.html5.min.js:8 Uncaught TypeError: n is not a function
at X.action (buttons.html5.min.js:8:19187)
at X.action (exec_reports.js:325:64)
at s (dataTables.buttons.min.js:4:7054)
at dataTables.buttons.min.js:4:7232
buttons.html5.min.js:8 Uncaught (in promise) TypeError: l is not a function
at buttons.html5.min.js:8:23516
Is this the fix?
https://datatables.net/forums/discussion/42395/button-html5-uncaught-typeerror-this-processing-is-not-a-function
No idea, you haven't posted a link to a test case showing the issue, or in fact any of your code, so I couldn't say if you are running into the problem described there or not.
Per the forum rules, please link to a test case. I'm not a mind reader
.
Allan