xxxxxxxxxx
$('#example').dataTable({
"columnDefs": [
{ "width": "20%", "targets": 0 }
]}
);
xxxxxxxxxx
var table = $('#example').DataTable();
$('#container').css( 'display', 'block' );
table.columns.adjust().draw();
xxxxxxxxxx
table.display {
margin: 0 auto;
width: 100%;
clear: both;
border-collapse: collapse;
table-layout: fixed; // add this
word-wrap:break-word; // add this
}