6 Replies Latest reply on Feb 9, 2009 12:56 PM by 2JZ

    highlighted drop source from tree control?

    2JZ Level 1
      When a user drop an item or node from one tree to another, is there a way to detect where the user wants to drop the item/node?

      Let's say a tree showing a company structure with different departments and managers and a list of people under the managers. Such as:
      Company A
      L---> R&D
      ..........L---> Research
      ..........L---> Development
      .......................L---> UI
      ................................L---> Manager A
      .............................................L---> Personal a1
      .............................................L---> Personal a2
      .............................................L---> Personal a3
      .......................L---> Algorithm
      ................................L---> Manager B
      .............................................L---> Personal b1
      .............................................L---> Personal b2
      .............................................L---> Personal b3
      .......................L---> Architecture
      ................................L---> Manager C
      .............................................L---> Personal c1
      .............................................L---> Personal c2
      .............................................L---> Personal c3

      A user can suffle the people under different managers bsed on the project phases. If Personal c1 & c2 complete their tasks, they get moved to Manager A to help out the UI. In this case, I need to know where the c1 & c2 get move to. All personals can only be a child of Managers. If a user accidently drop them at category or department level, the move should be ignored. How do I do this? Is it possible to do this within ONE tree control rather than two? Please help! Any input is appriciated!