DayPilot.Navigator.onTimeRangeSelected

Fired when the selection is changed, after 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

API v1 (Legacy)

Declaration

onTimeRangeSelected(start, end, day)

Parameters

  • start (DayPilot.Date) - selection start
  • end (DayPilot.Date) - selection end
  • day (DayPilot.Date) - day that was clicked

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