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

Clearing all the event of Daypilot

Asked by Anonymous
11 years ago.

Is there any way to delete all the events of the daypilot?

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

Server side:

DayPilotScheduler1.DataSource = null;
DayPilotScheduler1.DataBind();
DayPilotScheduler1.Update();

Client side:

dps.events.list = [];
dps.update();
Comment posted by Anonymous
11 years ago.

I dont find any .Update() method on daypilot.

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

.Update() method is only available in the Pro version. It is necessary for callback event handling. If it's not there (in the Lite version) just don't call it.

Comment posted by Anonymous
11 years ago.

Thanks for youro kind reply. But I would like to do demo using lite version. Is there any other way to achieve the functionality of deleting all the events?

Comment posted by Dan Letecky [DayPilot]
11 years ago.
DayPilotScheduler1.DataSource = null;
DayPilotScheduler1.DataBind();

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