Note: This is a legacy event that has been replaced by onRowClick.
onResourceHeaderClick(args)
args.resource.start
args.resource.name
args.resource.id
args.preventDefault()
This event is obsolete. It has been replaced by onRowClick event.
onResourceHeaderClick(resource)
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