Here are the facts:
Name
Ext.ux.PrinterFriendly
Version
0.1 (Initial Release)
Summary
Easily build printer friendly layouts and grids for your Ext JS pages.
Features
- Builds a normal html table (Ext.ux.PrinterGridPanel) based on your data store and column model, which saves a lot of cpu power and memory when printing large data sets. Moreover it shows all rows. (Remember, you can't use ext's pagination or scrolling on paper. ;-))
- Remembers the state of your grid, such as that hidden columns stay hidden in printer friendly view, keep their column order and keep the row sorting. (This is not really a feature of this extension, it just uses the fabulous Ext.state.Manager, but I think it's important to mention, since this was an important requirement for me.)
- Completely Javascript-driven, no need for extra server-side coding for printer friendly pages
- Enables easy debugging of your printer-friendly layout (just add ?format=printerfriendly to your page url to see printer friendly view)
- Enables adding your custom stylesheet for your printer-friendly format
Source
See attachments on this post (in the Ext JS Forum).
Documentation
http://extjs.com/learn/Extension:PrinterFriendly
Example
See attachments on this post (in the Ext JS Forum).
Feedback
Any Feedback via comments on this post in the official Ext JS forum or in this blog is welcome!
I hope you find this extension as useful as I do! :-D
Regards,
Steffen
2 comments:
I love it that much plugin, but I wonder if you have to do work with datagrid with paging
It does not work with datagrid + paging?
thanks
fabyo.php@gmail.com
Hey Fabyo,
see my reply in the ext js forum:
http://extjs.com/forum/showthread.php?p=166044#post166044
Regards,
Steffen
Post a Comment