New to Kendo UI for jQuery? Download free 30-day trial

Show ContextMenu in Scheduler on Mobile Devices

Environment

Product Progress® Kendo UI® Scheduler for jQuery
Operating System All
Browser All
Preferred Language JavaScript

Description

How can I show a ContextMenu when tapping a Scheduler event or slot and holding the tap?

Solution

The mobile configuration option of the Scheduler enables the adaptive rendering of the widget. By default, on mobile devices, tapping an event or slot brings up the Editor. To avoid the intended behavior and display a ContextMenu on tap hold instead of the Editor, prevent the edit event of the Scheduler after the ContextMenu opens.

For the full implementation of the approach, refer to this Dojo example.

In this article