DayPilot.Scheduler.onResourceHeaderClick

Note: This is a legacy event that has been replaced by onRowClick.

Declaration

onResourceHeaderClick(args)

Parameters

  • args.resource.start

  • args.resource.name

  • args.resource.id

  • args.preventDefault()

Notes

This event is obsolete. It has been replaced by onRowClick event.

api=1

Declaration

onResourceHeaderClick(resource)

Parameters

  • resource (DayPilot.Resource) - resource

DayPilot.Resource is a simple class with three properties:

  • start (DayPilot.Date) - resource start (corresponds to startDate value for viewType == 'Resource')

  • name (string) - resource name

  • value (string) - resource ID