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

Timeheader doesn't scroll vertically

Asked by Thomas Lee
5 years ago.

Hi Daypilot,
I'm using very old version of DayPilot having version "1418".
Now I have a problem with Daypilot Calendar.
In my Calendar, I have around 30 days, when I scroll to see another dates, the timeheader doesn't scroll with the viewport.

I'm not sure what's wrong with my script.

Here is my Inititalize script:
var dpCalendar = new DayPilot.Calendar("dpC");
dpCalendar.theme = 'th_calgreen';

dpCalendar.durationBarVisible = false;
dpCalendar.cellDuration = 10;

dpCalendar.heightSpec = "Fixed";
dpCalendar.height = 645;

dpCalendar.columnWidthSpec = "Fixed";
dpCalendar.columnWidth = 100;

dpCalendar.width = "100%";

dpCalendar.eventMoveHandling = "Disabled";
dpCalendar.eventResizeHandling = "Disabled";
dpCalendar.timeRangeSelectedHandling = "Disabled";

dpCalendar.bubble = new DayPilot.Bubble({
cssClassPrefix: "bubble_default",
animated: false,
onLoad: function (args) {
var ev = args.source;
args.html = "<span style='font-weight:bold; font-size:14px; color:blue; '>Package Information:</span><br/>" + ev.data.html;
args.text = ev.data.text;
}
});

//Events
dpCalendar.onEventDoubleClick = function (args) {
//do something
};

dpCalendar.init();
dpCalendar.hide();

Comment posted by Dan Letecky [DayPilot]
5 years ago.

Hi Thomas,

Have you tried the latest release?
https://javascript.daypilot.org/try/

The version you are using is more than 4 years old.

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