PDA

View Full Version : Printing a window that contains a form



litewait
7 Nov 2013, 3:29 PM
Evaluating EXT-JS and I am trying to find a way to print my popup window that contains a form on it. If I do a javascript print it prints the complete browser window not just the pop up. Please advise. Thanks.

scottmartin
9 Nov 2013, 7:03 PM
Here is a quick example of printing a panel:
http://kb.jaxara.com/extjs-print-your-panel

Here is a more advanced, to print a grid:
http://loianegroner.com/2011/09/extjs-4-grid-printer-plugin/

You will notice they use the same approach of using win.print()

Scott.

mazhar.shaikh
11 Nov 2013, 5:02 PM
What kind of form is it? What are its contents?