Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » JFace TableViewer/Table setitemcount() slow(decreasing itemcount from large number terrible slow)
JFace TableViewer/Table setitemcount() slow [message #987055] Fri, 23 November 2012 08:33
Mitch B. is currently offline Mitch B.Friend
Messages: 29
Registered: September 2011
Junior Member

I use a virtual tableviewer in Eclipse RAP 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.

Previous Topic:JFace TableViewer sorting in another thread
Next Topic:[Data Binding] Binding depends on another binding
Goto Forum:

Current Time: Thu Apr 26 13:44:58 GMT 2018

Powered by FUDForum. Page generated in 0.01476 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software