The problem with the scroll still go on, even i tried to implement a basic configuration, but doesn't work. Also i tried to take the example code from the infinite demo and doesn't work too.
Always that i tried this change, I set startDate = "2018-01-01"; when i run the website the month moves one month backward (Dec 2017), even if I add at the end dp.scrollTo("2018-01-01"); the month moves another month backward (Nov 2017).
When I ran the demo from the scheduler folder works well and i don know why, but when i took the script code and put that in a example like below doesn't works. For this test I alway used a simple website, with the javascript code that is below or I took the demo code, both works similar:
<!DOCTYPE html>
<html>
<head>
<title>DayPilot Pro for JavaScript</title>
<!-- head -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- helper libraries -->
<script src="jquery-1.12.2.min.js" type="text/javascript"></script>
<!-- daypilot libraries -->
<script src="daypilot-all.min.js" type="text/javascript"></script>
</head>
<body>
<div>
<div id="dp"></div>
</div>
<script type="text/javascript">
var dp = new DayPilot.Scheduler("dp");
dp.startDate = "2018-01-01";
dp.days = 365;
dp.scale = "Day";
dp.timeHeaders = [
{ groupBy: "Month", format: "MMM yyyy" },
{ groupBy: "Cell", format: "ddd d" }
];
dp.scrollDelayEvents = 0;
dp.infiniteScrollingEnabled = true;
dp.onScroll = function(args) {
//
};
dp.dynamicLoading = true;
dp.init();
dp.scrollTo("2018-01-01");
</script>
</body>
</html>