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

Disable left Click in Day Pilot Schedule

Asked by Anonymous
5 years ago.

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

Answer posted by Dan Letecky [DayPilot]
5 years 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";
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.