i am using multiple Datatables in single page but not working responsive
i am using multiple Datatables in single page but not working responsive

hello guys
i am using multiple datatables but not working responsive
below script i used but its not working
$("a[data-toggle=\"tab\"]").on("shown.bs.tab", function (e) {
console.log( 'show tab' );
$.fn.dataTable.tables( {visible: true, api: true} ).columns.adjust();
});
Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
This discussion has been closed.
Answers
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
If you are using the Responsive extension you may also need to use
responsive.recalc()
.Kevin