Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » TreeViewer vs TableViewer(Huge performance difference)
TreeViewer vs TableViewer [message #1245792] Fri, 14 February 2014 04:17
Lorand Lorincz is currently offline Lorand Lorincz
Messages: 35
Registered: April 2011
Member
Hello everybody,

Did enybody else notice that there is a huge performance difference between a TreeViewer and a TableViewer (TreeViewer is much more faster).
I have a Table containing CellEditors (with EditingSupport) with about 30 columns and when I'm scrolling it, especially horizontally, it's very slow. Also multi cell selection is slow too.
I changed the table to a Tree (just changed the main TableViewer to a TreeViewer and the specific classes) and there is a huge performance gain.
Why is this? Is this fixed in newer versions of eclipse or should I just migrate my table to a tree with no children?

P.S. I'm using SWT and JFace 3.7 on win7.

Thanks in advance.
Previous Topic:SWT Date Time in 24 hours format
Next Topic:Why one additional column / row in TableViewer?
Goto Forum:
  


Current Time: Fri Jul 25 19:23:26 EDT 2014

Powered by FUDForum. Page generated in 0.01480 seconds