View Full Version : Summary Grid -> Export to Excel
Mark Knochen
17 Nov 2012, 4:10 AM
Hello,
i want export a summary grid like this -> http://dev.sencha.com/deploy/ext-4.0.0/examples/grid/group-summary-grid.html -> into a XLS-File.
i used the Exporter.js -> but i don't get an export file.
Is there another way?
thank you
mark
mitchellsimoens
19 Nov 2012, 9:27 AM
What Exporter.js?
Mark Knochen
20 Nov 2012, 3:38 AM
I tried the:
https://github.com/iwiznia/Ext.ux.Exporter
here i get the errors:
TypeError: Ext.reg is not a function
chrome://firebug/content/blank.gif
Ext.reg('exportbutton', Ext.ux.Exporter.Button);
TypeError: grid.getTopToolbar is not a function
chrome://firebug/content/blank.gif
grid.getTopToolbar().add(exportButton);
and the:
https://github.com/edspencer/Ext.ux.Exporter
here i get no errors, but the export button doesn't do anything.
I tested this with the
http://dev.sencha.com/deploy/ext-4.0.0/examples/grid/group-summary-grid.html
-> i need an export for a group summary grid.
thank you
mark
mitchellsimoens
20 Nov 2012, 5:41 AM
Looks like it is for Ext JS 3 not 4.
Mark Knochen
20 Nov 2012, 5:51 AM
Ok, here is the example with export-button - but it doesn't work:
http://www.kommunikatist.de/extjs/test.html
can you see the error?
thank you
Mark
lightyear416
5 Dec 2012, 5:23 PM
I have the same problem.When I use the example in v4.1.1 ,the Ext.ux.exporter.Button has something wrong " c is not constructor".The Ext.ux.exporter.Button is extend by Ext.Component.I don't know how to deal with it.Can you help me.The example is right in v3,however there are something wrong in 4 through i have modified new to create.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.