Looking to hire someone to help you implement Bryntum products? Or are you a consultant who want to offer your services? This is the forum for you.


Post by renangi100 »

Hi
https://bryntum.com/products/schedulerpro/examples/maps/

I want to call service, when i drag existing event or add new event ,

  eventDrag: ({eventRecord}) => {
  }
  

Thanks
Madhu


Post by tasnim »

Hi,

You can listen to the eventDrag https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventDrag#event-eventDrag like this

new SchedulerPro({
	listeners : {
		eventDrag() {
			// put your logic here
		}
	}
})

And for event creation you can listen for this event https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventDragCreate#event-afterDragCreate

new SchedulerPro({
	listeners : {
		afterDragCreate() {
			// put your logic here
		}
	}
})

Best regards,
Tasnim


Post by renangi100 »

Thanks working


Post Reply