Drag selected items

  1. #1

    Drag selected items

    Hi,

    Based on this sample:

    https://examples1.ext.net/#/DragDrop...d/DragTracker/

    Is it possible to move all selected items at the same time?

    Thanks in advance,

    Dominik.
  2. #2
    Hi all again,

    Well, for those interested in this issue, I finally could solve it manually.

    Based on this other thread: Create dynamic selectables, resizable and draggable labels, I first set onmousedown event to my draggable divs in order to know which item is being moved and original location of all selected elements.

    Then, in onmousemove I calculate the difference between the original/current location of the item being moved. So in this way, I can update the location of all the other selected divs.

    May be, there is a better solution, but it is the only one I found at the moment.

    Best regards,

    Dominik.
    Last edited by Dominik; May 29, 2012 at 8:23 AM.

Similar Threads

  1. Drag all selected items on mouse move
    By Dominik in forum 2.x Help
    Replies: 1
    Last Post: May 29, 2012, 2:17 PM
  2. Avoid drag items outside their own area
    By Dominik in forum 1.x Help
    Replies: 8
    Last Post: May 21, 2012, 10:28 AM
  3. Replies: 1
    Last Post: Oct 13, 2010, 11:09 PM
  4. Replies: 0
    Last Post: Feb 01, 2010, 12:42 PM
  5. Replies: 0
    Last Post: Jun 03, 2009, 5:30 PM

Posting Permissions