DayPilot.Navigator.onTimeRangeSelect

Fired when the selection is changed, before the default action.

Declaration

onTimeRangeSelected(args)

Parameters

  • args.day - day which was clicked (if applicable); DayPilot.Date object
  • args.start - selection start; DayPilot.Date object
  • args.end - selection end; DayPilot.Date object
  • args.days - number of days in the selection
  • args.preventDefault() - prevents the default action

The default action is set using timeRangeSelectedHandling.

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java