add column width to datatable code example
Example 1: datatable column width
columnDefs: [
{ width: 200, targets: 0 }
],
Example 2: datatable width column
table.display {
margin: 0 auto;
width: 100%;
clear: both;
border-collapse: collapse;
table-layout: fixed; // add this
word-wrap:break-word; // add this
}