I’ve yet another question. I’m working with GWT 2.0.4 and IE8 as well as FireFox (the latter only for comparison purpose). My application needs to load data and show it inside a table. There are about 60 columns and 150 rows to show.
Since the loading is dynamic – as soon as a dataset has been fetched, it’s added to the table – I’m fine with slowdowns during loading process. However: when the table is completely loaded, I’d expect it to be pretty snappy and let me scroll it without much lag.
While the loaded table reacts in FireFox pretty good – it stays very responsive – Internet Explorer 8 is causing me a lot of headaches. In particular: as soon as the table finished loading and I try to scroll around or highlight a row, IE8 becomes VERY laggy and highlighting a row makes IE8 consume 50+% of CPU power.
I am not using any 3rd-party libraries and even displaying empty cells in a FlexTable still gives me the same issue.
I found some probably related issue here: SmartGWT ListGrid is slow, but only in Internet Explorer . Unfortunately neither the issue there, nor the supplied links for SmartGWT solved my problem as I am not using SmartGWT. I do believe though that the problem is related.
I’d be happy to try any suggestions.
If it’s possible (and your description of the problem suggests so), use
Gridinstead:Have a look at bulk table renderers @ GWT Incubator for a comparison of these approaches (it’s a little dated, but the point that
FlexTableis slower thanGridstill holds ;)). The “bulk rendered” tables from the incubator are also an option, however keep in mind that those widgets might not be maintained any more (and for example, contain bugs) – or are rapidly maintained 😀 But looking at the source might at least point you in the right direction, if you wanted to roll out your own solution to this problem.