当超过50000条记录与数据表绑定时,浏览器会变得无法响应 [英] Browser become irresponsive when more than 50000 records bind with datatable

查看:110
本文介绍了当超过50000条记录与数据表绑定时,浏览器会变得无法响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个应用程序,其中我使用了数据表和处理程序来使用数据表绑定数据,其中我使用了JSON数据格式。



当我请求数据第一次所有100,000条记录都在客户端的数据表中,但是当我第二次点击时,在创建数据表时,它将不会执行更多的代码,浏览器会变得无法响应并被挂起。

解决方案

感谢您宝贵的时间。我得到了答案。我使用fncleartable()在每次查找单击时清除表数据。


I have created an application in which I have used datatables and handler for binding data with datatable, where I have used JSON dataformat.

When I request for the data First time all 100,000 records come in the datatable which is client side but when I click second time, At datatable creation it will not execute the further code and browser become irresponsive and hanged.

解决方案

Thanks for your precious time. I got the answer. I am clearing the table data at every find click by using fncleartable().


这篇关于当超过50000条记录与数据表绑定时,浏览器会变得无法响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆