Posted By admin
Tags: , ,
Bootstrap Tabs with Table
Demo

I have find the solution.,Include Bootstrap library after jQuery library,,Include Responsive extension version 1.0.1 or later,,Use the code below:,,$(document).ready( function () {, $(‘#myTable’).DataTable( {, responsive: true,, "lengthMenu": [[8, 15, 30, -1], [8, 15, 30, "All"]], });,, $(‘#assigned’).DataTable( {, responsive: true,, "lengthMenu": [[8, 15, 30, -1], [8, 15, 30, "All"]], });, , $(‘#closed’).DataTable( {, responsive: true,, "lengthMenu": [[8, 15, 30, -1], [8, 15, 30, "All"]], });, , $(‘a[data-toggle="tab"]’).on(‘shown.bs.tab’, function (e) {, $($.fn.dataTable.tables(true)).DataTable(), .columns.adjust(), .responsive.recalc();, }); , });,data-table just working on first tab and not working on other tabs… ,Hello, I would like to know which bootstrap version are you using.,The author is kshiti06

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Related Snippets

Leave a comment

Your email address will not be published. Required fields are marked *