Buttons broken when using extra dropdown columns
Buttons broken when using extra dropdown columns
No Error messages are shown
Recently completed the design of Child rows (show extra / detailed information) https://datatables.net/examples/api/row_details.html -
and using library - https://cdn.datatables.net/1.13.4/js/jquery.dataTables.min.js. - Buttons no longer work, only need CSV button. Anyone else having this issue?
dom: "<'dt-toolbar'<'col-xs-12 col-sm-6'f><'col-sm-6 col-xs-6 hidden-xs'BTl>ri>" +
"t" +
"<'dt-toolbar-footer'<'col-sm-6 col-xs-12 hidden-xs'i><'col-sm-6 col-xs-12'p>>",
//buttons:['copy', 'csv', 'print']
buttons: ['csv'],
autoWidth: true,
responsive: true
});
The above code is what I am using for creating the button, but as stated above, with the added library the buttons are no longer visible.
Answers
It could be that you aren't loading all the libraries needed for the buttons. Use the Download Builder to get the correct libraries. You will need the Buttons and HTML5 Export options for CSV and Copy plus Print for Print. If you still need help then please post a link to your page or a test case replicating the issue so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
All the correct libraries have been loaded, but still no luck.