fires when some data is being dragged into the scheduler from an outside DHTMLX component (only with dnd extension enabled)
id | string | the data item id |
source | object | the source HTML element that was dragged into the scheduler |
e | Event | a native event object |
boolean | defines whether the default action of the event will be triggered (true) or canceled (false) |
scheduler.attachEvent("onExternalDragIn", function (id, source, e){
scheduler.getEvent(id).text = source.innerHTML;
return true;
});
The event requires the outerdrag plugin to be activated.