I believe the problem is using version 7.3.13 of the suite and version 6.0.3 of the scheduler.
Using version 6.0.3 of the suite, externalDrag events fire.
Can anyone help me so I don’t have to downgrade the suite and rewrite all methods?
Yes, you are correct - the issue occurs, because the scheduler doesn’t have built-in DnD integration with the new suite versions.
Technically, you can implement the same functionality, by adding DND listeners to the scheduler/list manually, using JS.
I don’t have the exact solution for the list component, but you can try using the similar approach, that is used in the following demo: https://snippet.dhtmlx.com/6pbq0tlg
The idea, is to listen drop of some component into the scheduler, gets the drop position with the getActionData method, and call the scheduler API to create an event on this place.
(drag the purple div into some timeline section and drop it there)
If you meet some difficulties implementing it, could you please describe them, and reproduce in the snippet tool: https://snippet.dhtmlx.com/6pbq0tlg
(open the snippet => reproduce the issue on HTML/CODE tabs => click the “Save” button => post here the new link)
Hi @Siarhei,
thanks for the reply.
I had already seen the drag_between property.
I would like to highlight the duration of the event as it goes on the scheduler, but onEventDragIn event but it doesn’t fire.
But you should redefine the range of the timespan each time you start dragging the item from the list(probably the required range should be stored in the list data items)
Kind regards,
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan