-
14 Mar 2011 6:17 AM #271
sorry i was updating the site, please try it again, if above menu don't work then go to http://www.developerextensions.com/ then select copy/paste grid from left side menu.
if you still cannot get the example working there, mail me at surinder83singh@gmail.comThanks
Surinder singh Mattaur (Matoo)
Extjs Excel copy/paste Grid
Extjs Photo Uploader
Extjs Filter Row
Extjs Grid Query Builder
Extjs Simple Form
Extjs Form Phone Field
Extjs Form Week Field
Sencha Cube Carousel
Sencha Date Picker
Sencha Touch Themes Builder
http://www.developerextensions.com
http://www.developerextensions.net
-
16 Mar 2011 12:50 PM #272
Hello all!
I have an on-line desktop application, where I mix JAVA (Struts, Spring, Hibernate) and EXTJS.
But one great problem that I always have is export grid's (and selects) to Excel.
I discovery your application and try to use into mine.
But, in any browser (FF2, FF3, IE8, Opera) the button doesn't work.
With FireBug, I Break on Error: Ext is not defined, on the line:
And, when I click the button, FireBug Break on Error: grid is not defined, at line:Code:Ext.override(Ext.grid.GridPanel, {
I create a ExportGridToExcel.js in project, create the button and make a handler to him, like all you said, but I'm rookie in EXT and forget something...Code:buttons: [{ 116 id: 'grid-excel-button', 117 text: 'Export to Excel...', 118 handler: function(){ 119 document.location='data:application/vnd.ms-excel;base64,' + Base64.encode(grid.getExcelXml()); 120 } 121 }] 122 }),
Someone can help me?
Thanks a lot!All you need is inside you.
-
17 Apr 2011 2:21 PM #273
Just work with a SimpleStore at Grid
Just work with a SimpleStore at Grid
Hi Animal !!
nice post, but i need to charge the grid data with a JSonSotre, and when i use the button to export, it just export the columns name, but there are no records, i supose tha its because JSonStore takes some time to charge it, but couldn“t fix it, can you helpme please??
-
10 Jun 2011 4:11 AM #274
If someone arrives to this page, there's an updated version of ed's exporter that works for extjs 4 here:
http://www.sencha.com/forum/showthre...store-to-Excel
-
15 Jun 2011 5:28 AM #275
Hi Wiznia
Hi Wiznia
Am using ext4 and i downloaded the scripts on the link you've provided but all am getting is the title "workbook".the Column configurations seem to have some issues.i cant get any data to the worksheets..am using models for the store.Any ideas of what i need to modify??
thanks alot...
-
15 Jun 2011 6:28 AM #276
There should be no problem in working with models. Can you put an example of the code? Or maybe debug it and see what is happening...
-
30 Jun 2011 8:26 PM #277
i used this method to export into excel but the downloaded file i get is always corrupted

what could be wrong ? please help
-
20 Jul 2011 12:08 AM #278
hi guys
I have the same problem as aggie. I get some column information, but no data. Also firefox only gives me a .part file...
Any suggestions wiznia?
thanks
-
20 Jul 2011 1:37 AM #279
No data? The only thing I can think is to debug it to see what's going on...
The .part thing, I don't know how to get rid of it, but I can open the spreadsheet with excel or openoffice without problem....
-
13 Sep 2011 12:47 AM #280
In the Ext4.0 getColumnModel() can't work why?
In the Ext4.0 getColumnModel() can't work why?
editor thank you for you source
but i find a erro in the file called "gridToExcel" where "getColumnModel" can't work .i know it's work in Ext 3.0 ,Now it's undefined in Ext4.0 .do you have anyway to solute,thank you very much!





Reply With Quote