+ Start a Discussion

Table Columns Data Wrapping Issue while printing the page

We have created some custom Visualforce reports which display a table.


In one of our reports we have many columns so we have to clip the column width else the content will cause the column width to auto expand and consequently we lose trailing columns. So what we want is that the content should have a fixed column width and wrap to next line. This wrapping works perfectly when viewing VF page (non-PDF). Now we have a custom "Print" button on the Visualforce Page, which on click renders as PDF and the print gives distorted columns display. However, while viewing VF page(non-PDF), the print just comes fine with proper column spacing and wrapping of the column text.


Please advise.