View Full Version : new Ext.dd.DropZone onNodeDrop isn't called

27 Dec 2014, 12:25 PM
var panelDropZone = new Ext.dd.DropZone(v.getEl(), {

getTargetFromEvent: function(e) {
return e.getTarget('.my-div'); // allow to drop op this node.

// While over a target node, return the default drop allowed class which
// places a "tick" icon into the drag proxy.
onNodeOver : function(target, dd, e, data){

// onNodeOver is called: target contains = '.my-div'
return Ext.dd.DropZone.prototype.dropAllowed;

onNodeDrop : function(target, dd, e, data){

// onNodeDrop isn't called: why?
return true;

I'm using ext-

If onNodeOver is called, why isn't onNodeDrop called; This shouldn't be the case according to the docs. Could this be a bug?

I'm trying to find the code that handles the onNodeXX events.

31 Dec 2014, 8:21 AM
I'm not able to reproduce the issue on the fiddle below using



4 Jan 2015, 3:54 AM
It turned out my code was ok but a jquery function was messing up things... sry for the false alarm.

Thanks for the nice working example! I'm sure it will be a value to the community.