How to set column width in print button
How to set column width in print button

I'm trying to use the default print feature of datatable. When I print, some column's width naturally adjust depending on their content. I want it to have a fixed size when I print because some column becomes quite hard to read especially contact numbers.
{extend: 'print', title: 'LEAD System', orientation: 'landscape', pageSize: 'FOLIO',
exportOptions: {
columns: [ 0, 1, 2, 3, 4, 5, 6, 7, 13 ],
},
This is my code for the print and as you can see, it is a very basic one.
This discussion has been closed.
Answers
Hi @leadtbs ,
This thread should help, it's asking the same thing.
Cheers,
Colin