Datatables not working on IE11 on a table with approx. 600 rows
Datatables not working on IE11 on a table with approx. 600 rows
Hello,
we are using Datatables on a site for several tables. It is working fine if the number of rows is small.
However, there is a table with approx. 600 rows and Datatables is not working at all. No elements are displayed (e.g. search, sorting, dropdowns). All of the 600 rows are displayed, instead. No errors in the console.
This only happens with IE11. Firefox and Chrome are fine.
What can I do to make this work again?
Claudia
This question has an accepted answers - jump to answer
Answers
Happy to take a look at a test case showing the issue if you could link to one please.
Thanks,
Allan
Great! The page is only visible after a login. However, I created a HTML copy and will send you the link in a private message
Thanks for the link by PM. I'm replying here to conclude the original discussion.
The IE debugger shows a Javascript error:
That is happening on this line:
You've used an ES6 optional argument, which is not supported by IE.
Allan
Gosh - silly IE11...
Thanks a lot, removing the default value for the optional argument resolved the issue.