DayPilot.Navigator.onVisibleRangeChange

Fired whenever the visible range changes, before the default action set using visibleRangeChangedHandling is performed. 

In most cases, the visible range change is caused by the user clicking "next" or "previous" icons at the top of the Navigator. The visible range change can also happen during .select() call if autofocus isn't disabled.

Declaration

onVisibleRangeChanged(args)

Parameters

  • args.start (DayPilot.Date) - visible range start
  • args.end (DayPilot.Date) - visible range end
  • args.preventDefault() - cancels the default action

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