I need to complete d-n-d functionality between two dataviews. By default the dragged and dropped item is moved to the target view. I need it just being copied (not removing from the source). I figured I need to use onBeforeDrop event for the target object (am I right here?).
I use the code as follows
dataX.attachEvent("onBeforeDrop",function(context){
//custom data moving
this.move(context.source, this.indexById(context.target));
return false; //block default processing
});
but it appears that context.target is always null then.