Hello,
Trying to incorporate the ability for a user to drag and drop a resource onto an existing appointment/event via scheduler. I have configured external drag and drop to drop appointments onto the calendar and this works perfect, however i would like to be able to drop an external item onto an existing appointment/event.
I've tried exploring the "hover" method and then retrieving the id, but this could have some potential problems.
public onHover(e: any): void {
console.log('appointment ', e?.event?.target?.dataset);
console.log('appointment id', e?.event?.target?.dataset?.id);
console.log('appointment gid', e?.event?.target?.dataset?.guid);
// this.dragAppointmentId = e?.event?.target?.dataset?.id;
}
<ejs-schedule (hover)="onHover($event)"></ejs-schedule>
Is there any method to get the existing appointment/event connected to the cell or eventHover? Any help or guidance would be greatly appreciated!