Home Unanswered Active Tags New Question

What is the purpose of Data property in Daypilot event

What is the purpose of having the Data property in daypilot event. I could not find the details in the daypilot documentation. Also what value is got from this property.
Asked by Vijith 1 year ago.
Replies

It's useful for sending custom data when you call the server-side events manually.

dps.commandCallBack('command', 'yourdata');

Here, 'yourdata' will be available in e.Data in the Command event handler on the server side. You can even send more complex objects.

See also:

www.daypilot.org/daypilotscheduler-sending-custom-data.html

Comment posted by Dan Letecky 1 year ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java