How to set the maximum width for one specific column, all other columns should be automatically set. I tried the code below, but it does not work, as I think the max-width attribute is missing
$('#table').dataTable({ 'paging': false, 'info': false, 'searching': false, 'columnDefs': [ {'max-width': '320px', 'targets': 'my-column'} ], });
jquery datatable
Dat nguyen
source share