"$.fn.dataTable.ext.order.intl is not a function" introduced in datatables.net-plugins 1.13.4
"$.fn.dataTable.ext.order.intl is not a function" introduced in datatables.net-plugins 1.13.4
halloei
Posts: 23Questions: 6Answers: 0
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown: $.fn.dataTable.ext.order.intl is not a function
Description of problem:
I'm setting the locale of DataTables globally by calling $.fn.dataTable.ext.order.intl('de');
, as described in the blog post. I've just updated to datatables.net-plugins 1.13.4 and this does not work anymore.
This question has an accepted answers - jump to answer
Answers
Test cases:
1.13.1 (working): https://jsfiddle.net/eybL6u9z/
1.13.4 (broken): https://jsfiddle.net/rqeuy7vs/
Apologies for that error!
While I was upgrading the plug-ins I changed the signature of that plug-in and while I updated its own documentation, I didn't update the blog post. What I should have done was maintain backwards compatibility with the old style. I've fixed that here and it will be in the next release.
In the meantime, this updated example shows how it can work.
Regards,
Allan
Thank you for your fast response, Allan!