Xviewer performances [message #1486799] |
Tue, 25 November 2014 09:46 |
Pascal Will Messages: 5 Registered: July 2009 |
Junior Member |
|
|
Hi,
In my application, there is a tree with only two levels but which will contain at least 25.000 roots. What's more, my tree has 14 columns.
I would like to use Xviewer which offers a range of very efficient and interesting functionnalities.
However, the problem is that, in my case, the tree is loading excessively slowly. It looks like SWT.VIRTUAL is not active.
Is the slow loading normal? If so, how can the loading time be reduced?
It appears that, in JFace, there are problems involving trees (not tables) with SWT.VIRTUAL.
Thus, I have the following performance (if I change my tree to a table by removing one level)
25,000 nodes - Tree SWT.VIRTUAL -> > 20 sec
25,000 nodes - Table SWT.VIRTUAL -> > 2 sec
So, if in XViewer the problem with these data volumes stems from the fact that it is a tree, is it possible to change the tree to a table?
If so, how?
Or is there a "table" version of Xviewer?
Thank you.
Best regards,
Pascal.
|
|
|
Re: Xviewer performances [message #1487461 is a reply to message #1486799] |
Tue, 25 November 2014 21:55 |
|
Hi Pascal,
AFAIK the XViewer is not capable of being lazy. So setting the SWT.VIRTUAL bit will have no effect. If you want XViewer to be virtual capable you have to file a bug against technology/nebula/xviewer.
JFace trees can be virtual. I don't know of any problems with SWT.VIRTUAL on regular JFace treeviewers.
The Nebula Grid widget and the Nebula NatTable widget have the virtual capability and both are table based. However, they lack some of the on-board features of XViewer (but have other features of their own).
I hope this helps,
Best regards,
Wim
[Updated on: Wed, 26 November 2014 08:31] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02845 seconds