PDA

View Full Version : Ext.ux.Printer.print printing a blank page?



ccypert
5 Dec 2011, 8:42 AM
Hello, I am in the process of implementing the printer component Ext.ux.Printer.print, but have a bit of an issue. First I must say javascript (and EXT for that matter) is not my normal language so Iím sure Iím doing something boneheaded. I have created a grid with a print button. In the handler for the print button I call the Printer function. The problem is that the printed page is blank. I have 4 lines of data in my grid, but the printed page about ďabout:blankĒ as the only text on the page. Below is the code I have for the handler function in my button. Iíve played around with the code a bit, but I still cannot seem to get anything to print.
handler: function(){
Ext.ux.Printer.print(this.grid);
},
I have also included the proper lines in the header of the web page to load the correct javascripts.
Thanks

mitchellsimoens
5 Dec 2011, 2:21 PM
You may want to seek out the author and see if he/she will support the extension.

ccypert
5 Dec 2011, 2:24 PM
I did, but the author has not responded yet, was hoping someone here might have a few clues. It looks like he does respond, but takes a week or so to do.