When Drag, the event runs from the beginning of that month to the place where the event is dropped. Can someone help me with this problem?
Support Forum
- Attachments
-
- localhost_3000_scheduler - Google Chrome 2022-08-09 11-41-43.mp4
- (19.35 MiB) Downloaded 25 times
Hi,
Could you please provide the steps to reproduce it? Are you able to reproduce it in our online demos?
Please check our support policy How to ask for help?
Could you please show you're code inside onAfterEventDrop
and I want to ask more, how to disable tooltip when dragging and dropping?
You need to check https://bryntum.com/docs/scheduler/api/Scheduler/feature/EventDrag#event-eventDrag event
Here is a simple code snippet of how you can achieve that :
listeners : {
eventDrag(event) {
const { source } = event;
source.features.eventDrag.tip.hide()
}
},
config :
features: {
eventEdit: {
disabled: true,
},
nonWorkingTime: {
highlightWeekends: true,
},
timeRanges: true,
cellMenu: false,
tree: true,
scheduleTooltip: false,
eventTooltip: false,
dependencies: {
disabled: true,
},
resourceTimeRanges: {
disabled: true,
},
scheduleMenu: false,
eventDrag: {
constrainDragToTimeline: true,
},
eventDragCreate: false,
eventDragSelect: false,
},
Hi tasmin, i got same issues, when I drag & drop event then it back to start of month automatically. Here is my simple code
Note: I'm using license version, you should change to trial version in package.json to run development. Thanks!
- Attachments
-
- bryntum-demo.zip
- (2.38 MiB) Downloaded 23 times