简体   繁体   English

如何导出大型数据集以在客户端中表现出色?

[英]How to export a large data set to excel in client-side?

If the JSON data size is around 40 to MB in size (around 60K rows with 20 columns approximately). 如果JSON数据大小约为40到MB(大约60K行,大约20列)。 What's the best client-side library to be used for exporting to excel? 什么是用于导出到excel的最佳客户端库?

as for as js is concerned there is limit to it set by JavaScriptSerializer.MaxJsonLength, otherwise json can sent as much data as possible. 至于js而言,JavaScriptSerializer.MaxJsonLength设置了它的限制,否则json可以发送尽可能多的数据。 IE crashes because it can not handle so much data so you should send 8k blocks of data and then properly join them to get full document on client side IE崩溃是因为它无法处理太多数据,因此您应该发送8k数据块,然后正确加入它们以在客户端获取完整文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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