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

How to clear events?

Asked by André
5 years ago.

Maybe you implement a events.clear() method.

Answer posted by André
5 years ago.

Found a workaround:

dp.events.all().each(function(e) {
dp.events.remove(e);
});

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

This is the fastest method:

dp.events.list = [];
dp.update();
Comment posted by aman
5 years ago.

Dan thanks

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.