Drag and drop fully implemented?

Im having trouble getting events such as onDrag to fire. When I briefly scanned the debug file, I couldnt find the event. Is DnD fully implemented this way?

Hello,

there is not onDrag event. However, there are many other drag-n-drop events:

onBeforeDrag, onBeforeDragIn, onBeforeDrop, onAfterDrop, onBeforeDropOut

http://docs.webix.com/api__refs__ui.datatable.html#events

Ok, Ik was following this article: http://docs.webix.com/helpers__dnd.html
It mentions this event, so got me confused.

Forgot to add I was drag and dropping between custom div’s (the link you gave is for datatable it seems?). It works, but I want to highlight the droppable area when beginning to drag and cant fire the mentioned event in the article.

Hi,

could you please post some example ? You can use http://snippet.webix.io/ for samples.

Here is an example: http://snippet.webix.io/e98409cd
I was trying the events mentioned under the header “Set of the drag control methods” in the article I mentioned.

Hello,

Yes, onDrag and onDrop events are not fired for DragControl (we will fix documentation). You should use $drag and $drag handlers instead

http://snippet.webix.io/44eb7e70

Ok, thanks!