DayPilot.Scheduler.commandCallBack

The commandCallBack() method invokes a Command event on the server side using an AJAX CallBack.

It is useful for sending navigation commands such as next, previous, or jumping to a specific date.

It only applies to ASP.NET WebForms, ASP.NET MVC and Java versions.

Declaration

DayPilot.Scheduler.commandCallBack(command, data)

Parameters

  • command (string) - custom command name

  • data (object) - additional custom data

Example

dp.commandCallBack("next", {});

See Also

CommandCallBack

Sending Custom Data with CallBack