View Full Version : Printing a grid does not page-break properly
4 Aug 2010, 6:38 AM
I have a grid that contains dynamic data. I also need to print the page. The issue is -- when I try to print the page, the grid's rows dont page break accurately...as a matter of fact, in FF since the entire grid is a block element, its trying to print the whole grid on one page and if its longer than one page, it simply prints what fits on one page and truncates the rest. Does anyone know how to get around this issue ?
4 Aug 2010, 4:14 PM
Not knowing a better way - I'd send the data to the server and use a reporting program (like Jasper) or iText to create a pdf and then open a new window with the "printable" version in PDF form.
Another option is to add a "print" button and show a new window with more printer friendly static html.
I have also used Apache POI to export to Excel for manipulation (and printing) but my app is focused on Excel users.
All less that ideal, but I hope that helps
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.