datatables responsive
Javascript123$('#myTable').DataTable( { responsive: true} );
datatables responsive
Javascript123$('#myTable').DataTable( { responsive: true} );
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,
....
});
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us