Increase / Decrease the DataTable Column width

Increase / Decrease the DataTable Column width

maddyganeshmaddyganesh Posts: 6Questions: 5Answers: 0

Hi,

In my DataTable i need to Increase / Decrease the DataTable Column width..I tried the below code to my DataTable but the column width not getting changed...

$('#example').dataTable( {
"columnDefs": [
{ "width": "20%", "targets": 0 }
]
} );

Is there any option for this requirement?

This discussion has been closed.