Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » TableViewer/SWT Table: Bad performance with many columns(Table editor with cell-editing support, focus-cell highlighting, etc. is slow when there are many columns.)
TableViewer/SWT Table: Bad performance with many columns [message #663736] Wed, 06 April 2011 11:09
germund is currently offline germundFriend
Messages: 5
Registered: July 2009
Junior Member
I've implemented a table editor (in an Eclipse IEditorPart) that holds mainly a Table using TableViewer, the editing support API, TableViewerEditor for navigation and focus-cell-highlighting, sorting, and filtering etc.

The problem is, that when the ObservableListContentProvider provides > 100 rows and > 10 columns scrolling V/H gets slow. The same goes for the selection updates and re-drawing of the focus-cell highlighter when using page up/down, moving to first/last column (slow meaning latency > 1 s). As long as there are ~10 columns and 200-300 rows I regard the responsiveness to be "acceptable". (I do disable redraw of the control whenever possible.) It's my obvservation, that the number of columns makes the biggest difference. And, when I edit a large table I hide as many columns as possible, as 30-40 columns is not unusual in our application.

For testing, I set up the table viewer with a WritableList as its input (simply a list of strings), and I've had the cell label-providers (per viewer column) only return a hard coded string, and I set no editing support instances on the viewer columns. The content provider is the ObservableListContentProvider. (I
tried using the TreeViewer instead of TableViewer, as well as SWT.VIRTUAL, but that was even slower.)

I've seen several Bugzillas on the subject, and numerous "duplicates", but found no conclusion or active "parent" issue.

Many thanks in advance for any comments on this.
Previous Topic:Change TreeViewer column header height
Next Topic:Ctrl+1 key binding lost in 3.3 to 3.6 upgrade.
Goto Forum:
  


Current Time: Tue Apr 23 16:52:27 GMT 2024

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

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

Back to the top