Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by B. Hertziger on Aug 12, 2009 08:39
open dhtmlx forum
dhtmlxTree child node with multiple parents

Is it possible to support a situation where a child node is a child of two separate parent nodes?

The situation is this:
We have a request, called request #10 in our system.
There are two projects called 50 and 60 in our system and 10 is required for both of them. Can I display this type of layout with dhtmlxTree?

50 60
\ /
\ /
\/
10
Answer posted by Alex (support) on Aug 12, 2009 09:00

Hello, 

tree has only one layout (you can see it in the samples).

You can include 10 item in both branches: 50 and 60.  So, 10 item will be shown twice in this case.

But ids should be unique in tree. it means that 10 id in 50 branch must be different from 10 id in 60- branch.