Hi!
I want to implement a condition on the drag and drop event. When I move an event, the EditEvent window opens so I can save the changes made on drag and drop.
How can I do this?
You can start programmatic editing anytime: https://bryntum.com/docs/scheduler/#Scheduler/feature/EventEdit#function-editEvent
There is a way to disable drag and drop?
Sure just set the Drag feature to be disabled.
Please see docs: https://bryntum.com/docs/calendar/#Calendar/feature/CalendarDrag
But I can't find this editEvent method that you suggested.
You are calling the method on the calendar, you should call it on the feature.
calendar.features.eventEdit.editEvent(...)
Hi gabimaria,
To disable drag n drop, please check this feature: https://bryntum.com/docs/calendar/#Scheduler/feature/EventDrag
features: {
eventDrag: false
}
All the best,
Alex
Hello @ducminh1511
Please start a new thread. Submit a runnable testcase, describe your problem and steps to reproduce. How to ask for help is described here: viewtopic.php?f=35&t=772
Thanks!
Pavlo Miklashevych
Sr. Frontend Developer