Here are the changes for version 0.2:
- Added config.js file for customized settings
- Added Ext.ux.PrinterFriendly.ENABLE_SHORTCUTS config option
- Added Ext.ux.PrinterFriendly.ROOT constant
- Added x-grid3-cell-first and x-grid3-cell-last class to header cells
- Added config parameter to printPreview to set config options for the print preview window, i.e. the title
- Added 'printer-window' id for printer window
- Added init.js file, which loads dynamically all other required files
- Added closeText and printText config option to PrinterWindow for localization purposes
- Added hiding of body until the printing layout gets initiated, this way the user doesn't see the page without the custom printer css, which the user might add in the onPrinting function
- Removed Ext.PRINTER_FRIENDLY_CSS_URL constant
- Changed all internal extensions to use Ext.ux.PrinterFriendly namespace
- Changed name of format parameter from format to _format, since it conflicts with the format parameter in Ruby on Rails
- Changed loading of printer friendly css file, will be loaded now when loading js scripts, which prevents the user from seeing the page before the css is loaded
- Fixed error in Safari in addStyleSheet method which caused that onPrinting is not executed
- Fixed print button for IE, IE is printing the content of the iframe now
- Fixed css bug in IE, empty cells will be filled with now, so that the css border is shown
The files can be found here.
2 comments:
Hi Mr. Steffen, i am new with extjs, i was trying to download the example code but i cannot. Can u send me the example code???? Please??? I downloaded the plugginbut i dont know how to use it, that's why i need the example code....
My email is: mvbressler@yahoo.es
Steffen... in case that you are interested (and I'm right in my finding of course :) )... take a look
http://www.sencha.com/forum/showthread.php?31524-Ext.ux.PrinterFriendly&p=585058&viewfull=1#post585058
Post a Comment