datatables responsive example

Example 1: datatables responsive

Javascript123$('#myTable').DataTable( {    responsive: true} );

Example 2: 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,
    ....
});