SmartGWT ListGrid 很慢,但仅在 Internet Explorer 中 [英] SmartGWT ListGrid is slow, but only in Internet Explorer
问题描述
我们已从 gwtext 迁移到 SmartGWT,总体体验还可以.但是,SmartGWT 的 ListGrid 组件存在很大的问题.
We have migrated from gwtext to SmartGWT and overall the experience is Ok. However, we have big problems with the ListGrid component of SmartGWT.
如果同时满足以下两个条件,则非常慢:
It is very slow if both of the following conditions are met:
- 使用 Internet Explorer
- 5 列或更多列
如果您添加更多列直到整个内容无法使用并且您必须终止浏览器,则速度会降低,例如通过 Windows 任务管理器.
the speed will decrease if you add more columns up to the point where the whole thing is unusable and you have to kill the browser, e.g. through the windows task manager.
1 列的网格在 Internet Explorer 中很好
Grids with 1 column are fine in internet explorer
具有大量列的网格在 Firefox、Opera 中很好用
Grids with a large number of columns are fine in Firefox, opera
在 SmartGWT 论坛中,我发现了两个关于此问题的条目,但建议的解决方法都没有解决此问题.
In the SmartGWT forums I've found two entries that are about this problem, but none of the suggested workarounds has fixed the problem.
http://forums.smartclient.com/showthread.php?t=5896
由于我只允许发布一个超链接,这里是第二个线程的编号:
Since I am only allowed to post one hyperlink, here's the number of the second thread:
t=5193
非常感谢任何帮助
推荐答案
尝试使用grid的setFastCellUpdates(true);
这篇关于SmartGWT ListGrid 很慢,但仅在 Internet Explorer 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!