Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Feb 13, 2007 15:12
open dhtmlx forum
I plan to have 2 trees.  The left one will contain selected items and the right one will contain non...

I plan to have 2 trees.  The left one will contain selected items and the right one will contain non selected items.  When I load the left (Selected items) I will not display them on the right.

What I am looking for is a way when I drag and drop Root|Parent1|Child2 (See FIG1) from the right to the left that I see Root|Parent1|Child2 (See FIG2) on the left leaving FIG3 on the right.

The tricky part comes if I remove    Root|Parent1|Child2 and drop it back on the right.  No matter where I drop it I want it to go back to its original location like FIG1. 

 

FIG1

Root

            Parent1

                        Child1

                        Child2

                        Child3

 

FIG2

Root

            Parent1

                        Child2

 

FIG3

Root

            Parent1

                        Child1

                        Child3

Answer posted on Feb 13, 2007 15:13

There is no native support for such complex "drag back on place" functionality. The node can be set to any position (by moveItem feature) but tree can't locate a place from where item was dragged in one of previous operations.

Answer posted by Nadine (Support) on Nov 28, 2014 01:30

To find more precise comments upon this issue, we can offer you read about copy datagrid and javascript calendar in php.