How can i make 3 tables in one page responsive cause 1 table only works? , latest datatable.
How can i make 3 tables in one page responsive cause 1 table only works? , latest datatable.

$('table.teachListReq').DataTable( {
responsive: true,
});
i just using this.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Your code snippet works here:
http://live.datatables.net/zoziqija/1/edit
Can you post a link to your page or a test case replicating the problem so we can help debug?
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
it work thank you
im using jquery 3.4.1 is that ok ?
Yes, The install docs state this:
This is not an issue with Responsive. There is an error with the Ajax response from your server. The place to start is with the troubleshooting steps provided in the link:
http://datatables.net/tn/7
Kevin
ok thank you
ok , so it works only if i put them below table below table , what if im using tabs sir?
Tabs are fine. Here is an example with Bootstrap tabs:
https://datatables.net/examples/api/tabs_and_scrolling.html
Kevin
sir i want the tabs responsive like not basic responsive with scroll, like the one with responsive: true? can i do that every tab ?
nvm sir , YESS! Thank you so much it works.
i just put responsive:true , and it fix , thank you for helping me