In the image attached, I tried to add a MarkTimespan on Oct 21st Monday, but it also added on Oct 14th Monday. In debugger I made sure the inputs are correct and I also noticed this behavior only happens on week view Mondays. It draws on the targeted Monday and its previous Monday. Is this a known issue? This MarkTimespan code is called in “onViewChange” event.
I just did a test on one of the sample files comes with the package. It has the same behavior that I am experiencing. In this example, it highlights both 2009/5/29 and 2009/5/22. Is there a way I can fix this issue in the source code?
scheduler.attachEvent(“onViewChange”, function (mode, date) {
scheduler.markTimespan({
start_date: new Date(2009,5,29,9),
end_date: new Date(2009,5,29,11),
css: “highlight_section”
})
});
In addition to that I’ve noticed that a resize of the browser window (style full screen) does not redraw the markTimespan.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan