SmartGWT ListGrid is slow, but only in Internet Ex

2019-05-20 04:21发布

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 is used
  • 5 or more columns

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.

Grids with 1 column are fine in internet explorer

Grids with a large number of columns are fine in Firefox, opera

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

Any help is greatly appreciated

3条回答
倾城 Initia
2楼-- · 2019-05-20 04:53

From my experience I.E. 8 handles horribly more than one or two buttons in a page (input type=button or button tags). I don't know if listgrid makes any use of that but if it does there is no workaround. Use something that uses divs.

查看更多
不美不萌又怎样
3楼-- · 2019-05-20 04:53

Try using grid's setFastCellUpdates(true);

查看更多
4楼-- · 2019-05-20 04:54

Can you list out the actual steps you took to make sure you followed all the suggestions in the threads in the SmartClient forums?

If you look at the SmartGWT Showcase LiveGrid sample:

http://www.smartclient.com/smartgwt/showcase/#featured_grid_live

Is this slow for you? If so possibly something is wrong with your machine or browser and you should try a co-worker's machine.

查看更多
登录 后发表回答