TreeVirtual vs VirtualTree

classic Classic list List threaded Threaded
3 messages Options
FD
Reply | Threaded
Open this post in threaded view
|

TreeVirtual vs VirtualTree

FD
Hi,

What are the differences between the TreeVirtual and the VirtualTree?
I'm creating a tree dynamically:
 each time a branch is opened, a branch/leaf is renamed, deleted, moved a call to a json server is made to obtain infos or check the rights.
In my case which one is the best?
If VirtualTree is the best, is it easy to 'migrate'/adapt the code to use VirtualTree instead of TreeVirtual?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: TreeVirtual vs VirtualTree

MartinWittemann
Administrator
Hey,
What are the differences between the TreeVirtual and the VirtualTree?
Just check out the demos of both trees [1]. They are technically different and do have different roots. The VirtualTree is based on the newer virtual infrastructure and looks like the old, non virtual tree. It is fully data binding integrated e.g. The TreeVirtual is based on the table and can therefore show multiple columns. 

I'm creating a tree dynamically:
each time a branch is opened, a branch/leaf is renamed, deleted, moved a
call to a json server is made to obtain infos or check the rights.
In my case which one is the best?
Sounds like you could use data binding to get that done. In that case, I would prefer the TreeVirual.

If VirtualTree is the best, is it easy to 'migrate'/adapt the code to use
VirtualTree instead of TreeVirtual?
No, the API's are not compatible and the migration steps would lead to a change in the application logic due to the data binding.

Regards,
Martin



------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: TreeVirtual vs VirtualTree

hkhellaf
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hi Martin

I noticed that the interval selection in the TreeVirtual class, using the keyboard combination shift+up/down does take only 2 items.
If you select and item, press shift+down key to select more items, it selects the first and second, the third will be selected but the first gets deselected.

The interval selection works with the mouse perfectly though.

check it out here:
http://demo.qooxdoo.org/4.0.1/demobrowser/#treevirtual~TreeVirtual_Selections.html

choose multiple/single interval selection and use the combination shift+up/down keyboard buttons to reproduce it.

is there any fix?

Thanks for the support