dojo/dijit and Printing
Posted
by Kitson
on Stack Overflow
See other posts from Stack Overflow
or by Kitson
Published on 2010-03-07T11:11:26Z
Indexed on
2010/03/08
21:36 UTC
Read the original article
Hit count: 557
I want to be able to provide a button to my users to just print a particular portion of my dojo/dijit application. There seems to be a general lack of documentation and examples when it comes to printing.
For example, I have a specific dijit.layout.ContentPane
that contains the content that I would like to print, but I wouldn't want to print the rest of the document. I have seen some pure JavaScript examples on the web where the node.innerHTML
is read into a "hidden" iframe and then printed from there. I suspect that would work, but I was wondering if there was a more dojo centric approach to printing.
Any thoughts?
© Stack Overflow or respective owner