search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

onBeforeEventMoving

Asked by Vincent
2 months ago.

I just noticed in https://doc.daypilot.org/scheduler/event-moving/ a mention of the onBeforeEventMoving event but couldn’t find any other mentions of it, nor does it seem to trigger when I start moving an event. Is this event actually being fired when someone initiates an event move? I was looking to see if I could clear out any other grid selection when a user starts moving an event on the grid.

Answer posted by Dan Letecky [DayPilot]
2 months ago.

That’s a typo. The event is called onEventMoving. There should be no problem using it to clear the selection.

Comment posted by Vincent
2 months ago.

It seems like dp.clearSelection() and dp.multirange.clear() will also clear out the shadow of the drag drop event. is there a way to clear out other selections without clearing the drag drop shadow?

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.