Answers for "datatables responsive"

1

datatables responsive

Javascript123$('#myTable').DataTable( {    responsive: true} );
Posted by: Guest on June-25-2020
1

make datatable responsive

You need to include responsive css and js

https://cdn.datatables.net/responsive/2.2.3/css/responsive.bootstrap.css
https://cdn.datatables.net/responsive/2.2.3/js/dataTables.responsive.js

<table class="table table-striped table-bordered dataTable display" cellspacing="0" width="100%">
</table>

This is working for me. One thing always keep in mind that you have to include 
jquery and datatable css and js.

$('.dataTable').dataTable({
	....
	"responsive": true,
    ....
});
Posted by: Guest on May-19-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language