Multiple DataTables per page given ID is not working; bug
Multiple DataTables per page given ID is not working; bug
brandonros1
Posts: 1Questions: 1Answers: 0
<table id="foo_1">...</table>
<table id="foo_2">...</table>
$('#foo_1').DataTable(options); /* ok! */
$('#foo_2').DataTable(options); /* error; tries to reinitiate foo_1 */
This discussion has been closed.
Answers
I am unable to recreate the issue.
http://live.datatables.net/cidoyote/1/edit?html,js,output
Perhaps your html has an issue or your options do something strange? I can't diagnose much further without seeing actual code. Could you create a live.datatables.net and see if you can recreate the issue to share?