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

Number of Days and Performance

Asked by Anonymous
6 years ago.

Hi, if I set the number of days to 365 the scheduler loads after 10 seconds.

To test:

If I set it to 2 days it loads instantly.

If I set it to 3000 days it loads in about a minute.

How can I make it load extra days on scrolling so that the initial load is quicker?

Thanks

<DayPilot:DayPilotScheduler ID="DayPilotScheduler1" runat="server"

DataStartField="DataStartField"
DataEndField="DataEndField"
DataTextField="LeaveType"
DataValueField="PK_Leave"
DataResourceField="Initials"

EventClickHandling="JavaScript"
EventClickJavaScript="eventClick(e);"

CellDuration="720"
Days="3000"

Answer posted by Dan Letecky [DayPilot]
6 years ago.

In the ASP.NET version, you can load the events dynamically during scrolling:
https://doc.daypilot.org/scheduler/dynamic-event-loading/

This still requires the timeline to be loaded in full. That should be fast enough for common scenarios (at least in the latest version). However, loading 6000 cells horizontally might still take some time. If aren't using the latest version of DayPilot you can give it a try - one minute sounds like a long time.

The infinite scrolling feature (switching the timeline during scrolling) is only available in the JavaScript version:
https://doc.daypilot.org/scheduler/infinite-scrolling/

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