Hybrid View
-
7 Sep 2011 5:36 AM #1
ExtJS 4: Grid Printer Plugin
ExtJS 4: Grid Printer Plugin
Hi,
I ported GridPrinter plugin to ExtJS 4.
This plugin was originally written by Ed Spencer.
Code: https://github.com/loiane/extjs4-ux-gridprinter
Demo: http://loianegroner.com/extjs/exampl...x-gridprinter/
Blog post: http://loianegroner.com/2011/09/extj...printer-pluginSencha/Java evangelist
Author of ExtJS 4 First Look and Mastering Ext JS books
English blog: http://loianegroner.com
Portuguese blog: http://loiane.com
Sencha Examples: https://github.com/loiane
-
7 Sep 2011 9:11 AM #2
This is great, I was planing on porting this plugin to ext4 but you did it!
Thanks for share.
-
8 Sep 2011 8:28 PM #3
-
9 Sep 2011 9:06 AM #4
-
23 Sep 2011 3:56 AM #5
Sencha/Java evangelist
Author of ExtJS 4 First Look and Mastering Ext JS books
English blog: http://loianegroner.com
Portuguese blog: http://loiane.com
Sencha Examples: https://github.com/loiane
-
29 Sep 2011 12:41 AM #6
Adding Ext.grid.column.Template support
Adding Ext.grid.column.Template support
Hi Loiane,
thanks for the migration.
I like to see that the code quality of migrated extensions is getting better and better and Ext 4 has the possibility to produce same quality with less code ;-)
Currently Grid Printer does not support TemplateColumns -> XTemplate Exception.
I added support this way
Cheers HolgerCode:Ext.each(columns, function(column) { if (column.dataIndex == key) { // template column support if (column instanceof Ext.grid.column.Template) { convertedData[key] = column.tpl.apply(item.data); } else { convertedData[key] = column.renderer ? column.renderer(value) : value; } } }, this);
-
11 Sep 2012 7:49 AM #7
Hi Loiane,
It doesn't look like source code is available on github anymore? Has it been officially added to ExtJS release, and maybe I'm just missing it?
Thanks!
-
11 Sep 2012 8:28 AM #8
Sencha/Java evangelist
Author of ExtJS 4 First Look and Mastering Ext JS books
English blog: http://loianegroner.com
Portuguese blog: http://loiane.com
Sencha Examples: https://github.com/loiane
-
18 Sep 2012 5:00 AM #9
I noticed your example page uses 4.0.2 which doesn't have Ext.String.createVarName
You might want to use 4.1.1
Great plugin, thanks for keeping it updated!
-
24 Sep 2012 10:53 AM #10
added support to Grid Row Numbered plugin
added support to Grid Row Numbered plugin
As requested, added support to Grid Row Numbered plugin.
https://github.com/loiane/extjs4-ux-gridprinter
Will continue working to improve the plugin!Sencha/Java evangelist
Author of ExtJS 4 First Look and Mastering Ext JS books
English blog: http://loianegroner.com
Portuguese blog: http://loiane.com
Sencha Examples: https://github.com/loiane


Reply With Quote