DayPilot.Scheduler.resourceHeaderMenuClickCallBack

Declaration

resourceHeaderMenuClickCallBack(r, command, data)

Parameters

  • r (DayPilot.Resource) - resource that was clicked
  • command (string) - menu item command name
  • data (object) - additional custom data

DayPilot.Resource is a simple object that has the following properties:

  • start (DayPilot.Date) - resource start date (usually equals to StartDate)
  • name (string) - resource name
  • value (string) - resource value (id)

See Also