Adam
0
Q:

datatables change width of columns

$('#example').dataTable( {
  "autoWidth": false, // might need this
  "columns": [
    { "width": "20%" },
    null, // automatically calculates
    null  // remaining width
  ]
} );
0
columnDefs: [
            { width: 200, targets: 0 }
        ],
0

New to Communities?

Join the community