PDA

View Full Version : Urgent pluggin extjs4



sebas2515
21 Dec 2011, 11:43 AM
Hi,

I'm trying to use a pluggin made in extjs 3 with my new aplication. The pluggin is Ext.ux.Exporter – export any Grid to Excel or CSV, but my new aplication is developed in extjs4. I need some help to do something similar to the pluggin does in extjs4

twaindev
21 Dec 2011, 12:25 PM
Have a look here (http://www.sencha.com/forum/showthread.php?136598-Export-store-to-Excelhttp://www.sencha.com/forum/showthread.php?136598-Export-store-to-Excel).

sebas2515
21 Dec 2011, 1:09 PM
i don't know where is gonna placed the exporter.js
file in my mvc architecture proyect's

30220

twaindev
21 Dec 2011, 1:31 PM
Just put the files in ext4/src/ux/exporter.

Also read post #21 (http://www.sencha.com/forum/showthread.php?136598-Export-store-to-Excel&p=628378&viewfull=1#post628378)

sebas2515
21 Dec 2011, 3:26 PM
i tried with this code and i put the file into the path that you indicated me (src/ux/exporter)

Ext.Loader.setConfig({ enabled: true });
Ext.Loader.setPath('Ext.ux.exporter', './src/ux/exporter');

and it doesn't work

I got the next error
namespace is undefined
chrome://firebug/content/blank.gif if (namespace === from...substring(0, from.length) === from)