DayPilot.Scheduler.onTimeHeaderClick

The onTimeHeaderClick event is fired by the JavaScript Scheduler component when the user clicks a time header cell.

Declaration

DayPilot.Scheduler.onTimeHeaderClick(args)

Parameters

  • args.header.start (DayPilot.Date) - start of the time header cell

  • args.header.end (DayPilot.Date) - end of the time header cell

  • args.header.level (numbe) - header level (zero-based index)

  • args.meta (boolean) - Meta key status

  • args.ctrl (boolean) - Ctrl key status

  • args.shift (boolean) - Shift key status

  • args.originalEvent (MouseEvent) - the original event object

  • args.preventDefault() - cancel the default action

api=1

Declaration

onTimeHeaderClick(header)

Parameters

  • header.start

  • header.end

  • header.level