Datatable Buttons not working anymore (TypeError: "x" is not a function)

Datatable Buttons not working anymore (TypeError: "x" is not a function)

rge75rge75 Posts: 16Questions: 2Answers: 0
edited January 18 in Free community support

Since a few days, the datatable buttons doesn't seem to work anymore


Firefox inspector tells:
Uncaught TypeError: e.ext.features.register is not a function

It also stopped working with 2.2.3 - that's why I updated on the test version
Same error on production though
Uncaught TypeError: u.ext.features.register is not a function

I'm using the following scripts

      <script src="inc/js/DataTables/jQuery-3.7.0/jquery-3.7.0.min.js"></script>
      <script src=""></script>
      <script src=""></script>          
      <script type="text/javascript" language="javascript" src="inc/js/DataTables/Buttons-2.4.2/js/dataTables.buttons.min.js"></script>
      <script type="text/javascript" language="javascript" src="inc/js/DataTables/JSZip-3.10.1/jszip.min.js"></script>
      <script type="text/javascript" language="javascript" src="inc/js/DataTables/pdfmake-0.2.7/pdfmake.min.js"></script>
      <script type="text/javascript" language="javascript" src="inc/js/DataTables/pdfmake-0.2.7/vfs_fonts.js"></script>
      <script type="text/javascript" language="javascript" src="inc/js/DataTables/Buttons-2.4.2/js/buttons.html5.min.js"></script>
      <script type="text/javascript" language="javascript" src="inc/js/DataTables/Buttons-2.4.2/js/buttons.print.min.js"></script>

This question has an accepted answers - jump to answer


  • colincolin Posts: 15,140Questions: 1Answers: 2,586
    Answer ✓

    We're currently merging DataTables 2 into the nightly builds, so it's very likely going to be related to that. I see you're using named versions of the Buttons releases, but the nightly build for DataTables and Responsive. It would be worth downloading the latest release for both of those and using that - nightly builds do tend to be less stable than named releases.


  • rge75rge75 Posts: 16Questions: 2Answers: 0

    Thank you for your reply. I changed the nightly to the named version and it's working fine again now.

Sign In or Register to comment.