DayPilot.Gantt.commandCallBack

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

This method is useful for sending navigation commands such as next, previous, or jump to a specific date.

Declaration

DayPilot.Gantt.commandCallBack(command, data)

Parameters

  • command (string) - command name (custom)

  • data (object) - additional custom data

Notes

Applies to versions with an integrated server-side backend (DayPilot Pro for ASP.NET WebForms, DayPilot Pro for ASP.NET MVC).

Example

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