No table content shows (only header) when printing from within a modal dialog.
No table content shows (only header) when printing from within a modal dialog.
matola
Posts: 23Questions: 6Answers: 1
The same table prints nicely with both header and contents if it called as separate page.
How can I print full table from within a modal dialog?
How can I print full table from within a modal dialog?
This discussion has been closed.
Replies
When you say "Print" do you mean the TableTools print button? Are you able to link to the page so I can take a look and see what is going wrong?
Thanks,
Allan
Click on "ALLAN" and use print button with browser's print function. (Chrome)
Thanks for the link! I see the issue now - the table is inside an iframe. So what is happening is that TableTools is correctly removing the other elements on the page for a print display, but only inside the iframe - it doesn't have access to the outer document.
Are you able to load the modal in a div container rather than an iframe? That would resolve the issue.
Allan
Thank you for your reply. I tried opening DT inside modal div first (before iframe solution). However, when I did that the editor form appears *behind* the modal. I tried increasing/decreasing different z-indexes in css but without avail.
Mats