简体   繁体   中英

how to export html table to excel using jquery?

I am making one page and it displays more than 25K record without paging. When I am exporting it to excel using following code of jquery,

it gives me error of page crash.

window.open('data:application/vnd.ms-excel,' + encodeURIComponent('' + $('.grid- view').html() + '

It is working for small amount of record but when record cross to 1500 , it starts crashing browser page.

Please help me to solve out this problem.

Thanks in advance

也许下载为附件而不是显示在浏览器中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM