Call update() on the client side to immediately update the calendar after changing the properties. This used to require a server-side request using commandCallBack().

Example

dpm.showWeekend = false;
dpm.update();

Availability

Availability of this feature in DayPilot editions:

LitePro
DayPilot for JavaScript
DayPilot for ASP.NET WebForms
DayPilot for ASP.NET MVC
DayPilot for Java