Datatable buttons compatability with jQuery 1.7.2
Datatable buttons compatability with jQuery 1.7.2
txt1
Posts: 5Questions: 3Answers: 0
Is it possible to use datatable buttons found here http://www.datatables.net/download/release with jQuery 1.7.2
I'm trying to add a button to my tables that would export to excel but i'm getting the below error in file DataTable.Buttons.min.js at the following line "j.API.register("button")"
JavaScript runtime error: Unable to get property 'register' of undefined or null reference
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Yes. DataTables and its extensions are compatible with jQuery 1.7+ - see compatibility page.
The error you are seeing suggest you might have an old version of DataTables on your page.
Can you provide a link to a test case showing the issue so it can be debugged please.
Allan
@Allan, that was true, downloading the latest version of DataTables resolved the error.