Pass additional data to makeDraggable
11 years ago.
Hi there
Is there a way to pass additional event data when calling makeDraggable?
For example, our standard event may look something like:
ev = {id: 123, duration: 1800, text: "Hello", status: "unallocated"}
We use the 'status' to change the HTML rendered in onBeforeEventRender. However if we do this:
ev = {element: externalElement, id: 123, duration: 1800, text: "Hello", status: "unallocated"}
DayPilot.Scheduler.makeDraggable(ev);
When the event is rendered in onbeforeEventRender, the 'status' key is missing on the args.e?
Anyway to send this through?
Thanks
Matt
DayPilot