I'm trying to create a drag/drop order-able list built on KendoUI and I am running into trouble determining the position of the draggable object in relation to other objects in the list
How would you determine the following:
How would you determine the following:
- The
Draggable
's position relative to its container? - The position of a DropTarget relative to the same container
The idea being that I can determine when an object move above (or below) another object and then swap their positions in the list.
Here is a jsfiddle containing the prototype
http://jsfiddle.net/raltman/KDRtT/1/
Here is a jsfiddle containing the prototype
http://jsfiddle.net/raltman/KDRtT/1/