Column width and printing problem
Column width and printing problem
I'm using DataTables to create a large 'report' that is always intended to be printed. It consists of several separate DT tables with interspersed images and text.
The problem is that the DT tables are extending beyond the page when printed (using the browser's print scaling option is not a viable solution). The only way to prevent this is to remove any 'fixed' column widths set, for example, using "sWidth": "20%"
However, if I don't specify certain column widths, the calculated widths just don't look right. Some columns have text wrapped six or seven times and others just a single word in acres of space.
Is there a solution to this?
Thanks in advance.
The problem is that the DT tables are extending beyond the page when printed (using the browser's print scaling option is not a viable solution). The only way to prevent this is to remove any 'fixed' column widths set, for example, using "sWidth": "20%"
However, if I don't specify certain column widths, the calculated widths just don't look right. Some columns have text wrapped six or seven times and others just a single word in acres of space.
Is there a solution to this?
Thanks in advance.
This discussion has been closed.