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

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

ShivuShivu Posts: 2Questions: 2Answers: 0
edited March 27 in Free community support

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.

Answers

  • colincolin Posts: 8,033Questions: 0Answers: 1,349

    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

  • kthorngrenkthorngren Posts: 8,096Questions: 25Answers: 1,817

    If you are using the Responsive extension you may also need to use responsive.recalc().

    Kevin

Sign In or Register to comment.