Please see the documentation on how to use event double click event:
http://doc.daypilot.org/calendar/event-double-click/
In the latest realease (http://javascript.daypilot.org/daypilot-pro-for-javascript-8-0-sp2/) you just need to add the event handler:
<div id="dp"></div>
<script type="text/javascript">
var dp = new DayPilot.Scheduler("dp");
dp.onEventDoubleClick = function(args) {
alert("Event with id " + args.e.id() + " was double-clicked");
};
</script>
In the next release (builds 1746+) , event double click will be disabled by default and it will be necessary to turn it on:
<div id="dp"></div>
<script type="text/javascript">
var dp = new DayPilot.Scheduler("dp");
dp.eventDoubleClickHandling = "Enabled";
dp.onEventDoubleClick = function(args) {
alert("Event with id " + args.e.id() + " was double-clicked");
};
</script>
Please let me know if the error above happens with the latest sandbox build:
http://javascript.daypilot.org/sandbox/