How do I set a max width for one specific column, all the other columns should be auto sized. I have tried the below code, but it does not work since I think there is no 'max-width' attribute
$('#table').dataTable({
'paging': false,
'info': false,
'searching': false,
'columnDefs': [
{'max-width': '320px', 'targets': 'my-column'}
],
});
max-widthdoes not work for me. Alsotargetscan be a css class of a column, not only an index