Databases columns.width function is not working
Databases columns.width function is not working
arunkumar90
Posts: 4Questions: 3Answers: 0
I am trying to archive fixed column width https://datatables.net/reference/option/columns.width with responsive datatables
$('#example').dataTable( {
"columnDefs": [
{ "width": "20%", "targets": 0 }
]
} );
but if the column text is grater than specified with like ( "width": "20%") it is auto resizing the column width.
how can i restrict it fit within column width and trim excess using ellipsis ?
This discussion has been closed.