DayPilot.Scheduler.clientState

The clientState property (object) specifies a custom object that will be serialized and sent to the server with every CallBack request.

The value is available on the server side as ClientState. This property applies to ASP.NET WebForms, ASP.NET MVC, and Java versions.

Declaration

DayPilot.Scheduler.clientState

Default Value

{}

Notes

Use this property to attach additional client-side state to Scheduler callbacks. The object is included with each CallBack request and can be read on the server using the ClientState property.

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  // ...
});
dp.init();


dp.clientState.filter = 'my filter';

See Also

ClientState [doc.daypilot.org]

DayPilot.Scheduler Class