PDA

View Full Version : Export Grid to Excel



buzurg
24 Nov 2011, 12:12 AM
Hi,

Before posting this question I searched the premium forum and found that this question has already been posted a number of times (links below) but none has been answered.

http://www.sencha.com/forum/showthread.php?153119-How-to-export-grid-into-excel&highlight=Export+Excel

http://www.sencha.com/forum/showthread.php?152715-how-grid-export-to-excel-in-extjs-4.0.2a&highlight=Export+Excel

http://www.sencha.com/forum/showthread.php?146366-grid-to-excel-export&highlight=Export+Excel

http://www.sencha.com/forum/showthread.php?143782-How-we-I-Export-gridlist-to-pdf-Excel-or-word&highlight=Export+Excel

I just bought Sencha Suit but am stuck with exporting to Excel. Please guide me that how can I export the data in grid to Excel. I want to export the filtered data as well. Having said that, if any filter has been applied using the built in filters feature then only the filtered data must be exported.

Please help ASAP.

Thanks,
Buzurg in Jeanz

tvanzoelen
24 Nov 2011, 5:51 AM
The best thing to do is launch the excel form the server. The Excel program is then launched automatically.

Old ways to export data are: convert your grid into a plain html table or create a csv file. Excel can readthat. The best thing to do is post your gridfilters to the server and recreate your dataset with that.

Do you want a real Excel file, or PDF? Then look at this product. http://www.stimulsoft.com/