Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1290
Detecting element with DragMoveHandler
posted

Hi, is there a way to detect over which element I am currently do the dragging (possibly using DragMoveHandler) ? I have an HTML table set as Target Element for drag-and-drop. When I do the dragging I want to detect which cell I am dragging over.  I tried "elementFromPoint" by passing coridnates retreived from DragMoveHandler event args - but it retrieves the IFRAME used for dragging.

And secondary, when I am using custom HTML markup for the drag appearance - is there a way to position that markup always next to mouse cursor? Sometimes when initial source appearance is longer than custm HTML markup - it is positioned far away from the mouse cursor (see the attachment).

Thanks!