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

No EventTapAndHoldHandling for Scheduler

Asked by Cezar
6 years ago.

In my
@Html.DayPilotScheduler("dps", new DayPilotSchedulerConfig
AllowEventOverlap = false,
BackendUrl = Url.Action("ResScheduler", "Scheduler"),
CellGroupBy = DayPilot.Web.Mvc.Enums.GroupBy.Month,
ContextMenu = "me",
Days = 365,
DynamicLoading = true,
EventClickHandling = EventClickHandlingType.JavaScript,
EventClickJavaScript = "details(e)",
EventDoubleClickHandling = EventDoubleClickHandlingType.JavaScript,
EventDoubleClickJavaScript = "editReservation(e)",
EventResizeHandling = EventResizeHandlingType.JavaScript,
EventDeleteHandling = EventDeleteHandlingType.JavaScript,
EventDeleteJavaScript = "deleteReservation(e)",
TapAndHoldTimeout = 500,
EventMovingStartEndEnabled = true,
EventMovingStartEndFormat = "dd MMMM yyyy",
EventMoveHandling = EventMoveHandlingType.JavaScript,
Scale = DayPilot.Web.Mvc.Enums.TimeScale.Day,
StartDate = new DateTime(DateTime.Today.Year, 1, 1),
TimeRangeSelectedHandling = TimeRangeSelectedHandlingType.JavaScript,
TimeRangeSelectedJavaScript = "create(start, end, resource)",
TreeEnabled = true,
TreePreventParentUsage = true,

I can't switch EventTapAndHoldHandling to Context Menu. Why there is no option for APS.NET MVC version?

Answer posted by Dan Letecky [DayPilot]
6 years ago.

It looks like this option was missing in the Scheduler by accident. It's now available in the latest sandbox build (2018.2.5945):

It will be included in the next release.

Comment posted by Cezar
6 years ago.

Well, my subscription has ended half year ago, so...

Comment posted by Dan Letecky [DayPilot]
6 years ago.

You can also set it using JavaScript:

dp.eventTapAndHoldHandling = "ContextMenu";
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.