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

unselect a selected event on event click

Asked by Suman
2 months ago.

How can i achieve unselect an event while clicking the selected event.
Thanks in advance for the response

Answer posted by Dan Letecky [DayPilot]
2 months ago.

The default behavior corresponds to the typical file manager behavior - clicking an event selects it, clicking another event changes the selection to the new event, Ctrl+click is required to unselected an event.

You can add the following code to onEventClick to unselect events on click:

dp.onEventClick = function(args) {
    if (dp.multiselect.isSelected(args.e)) {
New Reply
This reply is
Your name (optional):