DataTables only work on first table

DataTables only work on first table

Domenico1616Domenico1616 Posts: 5Questions: 1Answers: 0

Hi, I've a problem with my tables, seems that only the first table works.
Here is the debug: https://debug.datatables.net/esopon
How can I make the other tables works?
I used this js code, I have 4 tables and their class is set to "display", but only the first one works fine
()$(document).ready(function() { ()
()$('table').DataTable( { ()
()dom: 'Bfrtip',()
()buttons: [()
()'copy', 'csv', 'excel', 'pdf', 'print'()
()]()
()} );()

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.