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

How to clear events?

Asked by André
9 years ago.

Maybe you implement a events.clear() method.

Answer posted by André
9 years ago.

Found a workaround:

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

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

This is the fastest method:

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

Dan thanks

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