Download excell/csv

Download excell/csv

lpz8lpz8 Posts: 15Questions: 2Answers: 0

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

  • kthorngrenkthorngren Posts: 22,186Questions: 26Answers: 5,106

    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

  • lpz8lpz8 Posts: 15Questions: 2Answers: 0

    I'll check, thanks!

  • lpz8lpz8 Posts: 15Questions: 2Answers: 0

    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
    

  • allanallan Posts: 64,798Questions: 1Answers: 10,728 Site admin

    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

Sign In or Register to comment.