search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Get visible time range (scheduler)

Asked by Simon
10 years ago.

With the daypilot scheduler - how do I obtain the visible time range (start and end date) in javascript?
The dps.startDate property is not what I'm looking for, but instead the start datetime and end datetime for the interval that is actually visible to the user (depending on scroll position).

Answer posted by Simon
10 years ago.

Sorry, didn't see this:
http://api.daypilot.org/daypilot-scheduler-getviewport/

dps.getViewPort().start and dps.getViewPort().end is what I was looking for.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.