I was able to make a dragging action on scheduler in Day and Week view using below code:
var old = scheduler._render_v_bar;
scheduler._render_v_bar = function () {
var container = old.apply(this, arguments);
//assign custom drag handler to event blocks
container.setAttribute("draggable", "true");
container.ondragstart = drag;
return container;
}
But this does not work on month view of the scheduler.
Any ideas on what element i should edit in Scheduler MONTH view to achieve drag action on scheduler entries?
Firstly, I should notify you that redefining the internal methods of the scheduler may cause some unexpected issues, and also can break the scheduler functionality on updates to new versions. So I advise you to be careful with it.
Regarding the question:
The _render_v_bar method is used to render events for less than one day(.dhx_cal_event).
In the month view, all events display as multiday events(dhx_cal_event_line) which render by the render_event_bar method, which works differently and takes the event object as the parameter.