onBeforeDragIn
fires before a dragged element is moved over the droppable area
function onBeforeDragIn( // the drag-n-drop context context: object, // an HTML event object native_event: Event): void
Example
Section titled “Example”grid1.attachEvent("onBeforeDragIn", function(context, native_event){ //... some code here ...});
Details
Section titled “Details”The drag-and-drop context can have the following properties:
- from - the source object
- to - the target object
- source - the ID of the dragged item(s)
- target - the ID of the drop target, null for dropping on empty space
- start - the ID from which drag-n-drop was started
See also
Section titled “See also”Articles
API