Multiple datatable
Multiple datatable
reing.prog
Posts: 11Questions: 3Answers: 0
I have a datatable, with an option to show a second datatable in a modal, both have different declarations, the problem is that when calling the modal the datatable shows perfectly, but the first datatable is mismatched and duplicates the search option, the pagination etc., has this happened to someone?
This discussion has been closed.
Answers
this is how it is after calling the other datatable
This example shows two Datatables on the same page. The search and other functionality only affect the table they are used on.
Can you provide a link to your page or a test case showing the issue so we can help debug your code?
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
Kevin, thank you very much, I already solve it, destroy the first datatable before calling the second