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 JavaScriptFull SupportFull Support
DayPilot for ASP.NET WebFormsNo SupportPartial Support
DayPilot for ASP.NET MVCPartial SupportPartial Support
DayPilot for JavaNo SupportPartial Support