【发布时间】:2015-02-03 18:39:28
【问题描述】:
我在客户端的数据表中加载超过 10000 条记录,绑定所有记录需要更多时间,所以我做了以下两个步骤
1. first loaded 100 records in datatables using fnAddData() and fnDraw().
2. remaining records loaded to datatables in settimeout function.
加载前 100 条记录所花费的时间非常快,尽管我使用 settimeout 函数加载了其余记录,但我面临以下问题
Page goes to not responding until the records bind to datatables
知道如何解决页面无响应的问题,我需要一次快速加载数据,或者一次完整的记录,或者首先使用 settimeout 休息一些记录。
【问题讨论】:
标签: jquery datatables jquery-datatables