Is there any way to delete all the events of the daypilot?
Server side:
DayPilotScheduler1.DataSource = null; DayPilotScheduler1.DataBind(); DayPilotScheduler1.Update();
Client side:
dps.events.list = []; dps.update();
I dont find any .Update() method on daypilot.
.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.
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?
DayPilotScheduler1.DataSource = null; DayPilotScheduler1.DataBind();