Hi all
In my Scheduler, I can add events with the javscript function createEvent(start, end, resource) that is proposed in the exemple.
I would like know to add in the menu, the same thing as the following code:
<DayPilot:MenuItem Text="Add an event " Action="JavaScript" JavaScript="javascript:createEvent(e.start.toString(),e.end.toString(), e.resource);"></DayPilot:MenuItem>
--> Here, I am reusing the same javascript code.
It doesn't work.... It says :function(){return new daypilot.date($r.data.Start)}
If someone can help me...
Thanks