问题描述
我无法在Internet Explorer 8中找到解决内存泄漏的方法(没有尝试过其他方法).
I haven't been able to find a solution to a memory leak in Internet Explorer 8 (haven't tried any other).
泄漏是由于调用 jqGrid 的$("#grid").trigger("reloadGrid");
引起的方法.
The leak is caused by calling jqGrid's $("#grid").trigger("reloadGrid");
method.
我尝试了deepempty: true
,但是没有用.我也尝试致电clearGridData
,但无济于事:(
I tried deepempty: true
but that did not work. I also tried to call clearGridData
, but to no avail :(
我使用最新的3.8.2版本的jqGrid并从服务器加载JSON数据.
I use the latest 3.8.2 version of jqGrid and load JSON data from the server.
推荐答案
我在不同场合使用$("#grid").trigger("reloadGrid");
并在IE8上进行了测试,但我从未遇到任何麻烦.
您要加载几行?
您能提供一些代码吗?
I've used $("#grid").trigger("reloadGrid");
in different occasions and tested it with IE8 and I've never had any trouble.
How many rows are you loading?
Could you provide some code?
这篇关于jqGrid在reloadGrid上发生内存泄漏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!