Solution for "datatable reduce column width"

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

datatables change width of columns

columnDefs: [ { width: 200, targets: 0 } ],

datatable column width

table.display { margin: 0 auto; width: 100%; clear: both; border-collapse: collapse; table-layout: fixed; // add this word-wrap:break-word; // add this }

datatable width column

Similar codes for "datatable reduce column width"


Latest 'Javascript' questions

Added before "datatable reduce column width"