sradoff
asked on
Print large number of HTML table rows from WEB Page
I need to be able to print all the rows from an <table> in an HTML iframe WEB page. The table in contained in a pair of <div> s. The inner <div> is set to display: inline when printing (@media print). There are more table rows than are visible on the page and the problem is to get all the rows printed and paginated. I am using JavaScript window.print() to send the rows to the printer. I observe that only those rows visible on the page (even using overflow: visible) will print, the remaining rows will not and there is no pagination. I have searched the Internet trying to find a solution. One such solution suggests converting the content to PDF. Another is to stack a collection of <div> s for each row adjusting the height of a set of <div> s to fit the printed page separated with <div> s having references to css page-break-always rules.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.