To specify the column widths, Used the code below:
$('#table_id').dataTable( {
"columnDefs": [
{ "width": "20%", "targets": 0 }
]
} );
where
#table_id
should be replaced with your table ID
To keep View Docket , Wizard and Express not wrapping, Use any inline element like span
or i
or you can use display: inline;
with any element and white-space: nowrap;
if required.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.