Ok thanks.
I've tried experimenting with intercepting the dragstart and dragstop events without any success so far. I've looked at "External Drag and Drop" documentation ( http://doc.daypilot.org/scheduler/external-drag-and-drop/ ) but that's not exactly what I want.
I want to get notified when any dragstart and dragstop events occur regardless of their origin (external/internal).
The reason I need this is because:
When an event is saved, clients will get notified by signalR that the scheduler needs to be refreshed. So if a user is NOT interacting with the scheduler, a commandCallback should be fired to refresh the scheduler.
Instead of getting notified when drag events occur I've also tried implementing the "is user interacting" check you mentioned like so:
// skip if an operation is active
if (!DayPilotScheduler.resizing && !DayPilotScheduler.moving && !DayPilotScheduler.drag && !DayPilotScheduler.range) {
(copied from daypilot-scheduler.src.js _doRefresh).
But the resizing, moving, drag and range members are all undefined a the momemt when I try access them.
Is there some other way of accessing the information provided by the DayPilotScheduler object?
Or is there an easier way to detect when a user is interacting with the scheduler?