live.datatables.net not working with buttons layout?
live.datatables.net not working with buttons layout?

Link to test case: https://live.datatables.net/pugegufa/1/edit
Debugger code (debug.datatables.net): n/a
Error messages shown: n/a
Description of problem: Hi all
I'm trying to prepare a test case to show some problem with a button collection but I even cannot get the buttons layout to work in the test case. As soon as I use the string 'buttons' the datatable stopps woking. Using an emty string or something like 'search' does work.
Pretty sure I'm doing something wrong. But what is it?
Thanks in advance for your answer(s).
This question has an accepted answers - jump to answer
Answers
Change the order the .js includes are loaded.
https://live.datatables.net/cocokexa/1/edit
Make sure to load
dataTables.buttons.min.js
afterdatatables.js
.Depending on what you need it sometimes is easier to use the Download Builder to get the CDN's for all the needed extensions. Make sure to remove any default duplicates from the live.datatables.net template.
Kevin
Ah ...
I missed that "Add library" is inserting everything before all existing includes.
Thanks for pointing that out.