views:

31

answers:

1

using this http://wwwendt.de/tech/dynatree/

I know the answer is probably no, but I want to verify this: can a node have several parents in this component?

Thank you in advance!

A: 

That would mean, that nodes with identical properties (title, icon, and other attributes) appear at different locations in the tree. This is possible, of course.

The only restriction is: It's not allowed to have two nodes with the same key property in one tree.

I think that the behaviour would be hard to define, if nodes where really 'identical'. For example, when you activate one node that has multiple parents, would you expect all instances to be highlighted? And then, when you press [Cursor-Left]: which parent should be navigated to?

But you could add a new property like myBackendKey whith the same value for all node instances.

mar10