DayPilot.Scheduler.getViewPort

Gets information about the currently visible viewport.

Return value

Returns an object with the following properties:

  • start (DayPilot.Date)
  • end (DayPilot.Date)
  • resources (array of strings; resource IDs)

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