如何将extjs网格数据导出到Excel? [英] How to export extjs grid data to excel?
问题描述
我有一个包含大量记录的网格.我使用过滤器根据需要过滤数据.但我想将过滤后的数据导出到Excel工作表中,以备将来使用.
I have a grid with large number of records. I use filters to filter the data as required. But i want to export the filtered data to a excel sheet for further usage.
我浏览了一些可用的文章,但它们似乎有所不同,并且与最新的4.2版本不兼容.
I went through some articles available but they seem different and not compatible with latest 4.2 version.
请帮助我以简单的方式实现这一目标.
Please help me in achieving this in simple manner.
非常感谢!
推荐答案
对于extjs< 4 http://edspencer.net/2009/11/24/ext-ux-exporter-export-any-grid-to-excel-or-csv/
For extjs < 4 http://edspencer.net/2009/11/24/ext-ux-exporter-export-any-grid-to-excel-or-csv/
对于extjs> = 4 http://www.sencha.com/forum/showthread .php?136598-Export-store-to-Excel
For extjs >= 4 http://www.sencha.com/forum/showthread.php?136598-Export-store-to-Excel
这篇关于如何将extjs网格数据导出到Excel?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!