JFace TableViewer/Table setitemcount() slow [message #989198] |
Wed, 05 December 2012 03:25  |
Eclipse User |
|
|
|
Hi,
(I posted this topic already in the JFace-Section without any answers yet)
I use a virtual tableviewer in Eclipse RAP 1.5 to hold and display large datasets. After doing filter actions I set the itemcount to the new number of data rows which could be displayed. Now I noticed that when I decrease the number in setitemcount() from a large number above 80k to a much smaller number like 700 or so, the disposing of the items(even they were not visable) takes so much time that the user could think the application is frozen. Is this an RAP issue only, my fault or a common problem?
As a workaround I decrease the itemcount in small steps, which improves the performance a lot, but this should not the way to handle this scenario.
regards
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04627 seconds