search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Disable left Click in Day Pilot Schedule

Asked by Anonymous
4 months ago.

I want to disable left click in Day Pilot Scheduler and want to add an event on the right click.

2 other people also want an answer.
Answer posted by Dan Letecky [DayPilot]
4 months ago.

Unfortunately, this is not supported in the ASP.NET version of the Scheduler. In the JavaScript version, it's possible to customize the behavior using onGridMouseDown:

The implementation could look like this:

dp.onGridMouseDown = function(args) {
  if (args.button === "left") {
    args.action = "None";
  if (args.button === "right") {
    args.action = "TimeRangeSelect";
New Reply
This reply is
Your name (optional):