Questions Tagged bug
Scheduler fromStringSortable throwing exceptions
Answered: Thanks! That helped to identify the performance issue. It should be fixed now in the latest sandbox build (2021.4.5128, see https://npm.daypilot.org/ for the Angular version). The constructor used to...
Using CSS3 zoom breaks Scheduler crosshair
Answered: Unfortunately, the CSS-level zoom is not supported at the moment. However, you should be able to achieve a similar effect by adjusting the dimensions properties (eventHeight, headerHeight, etc.) and ...
this in undefined in the addEvent example
Answered: This hint is correct, you can't use "this" in a functional React component. You'll need to create a variable instead:
const Scheduler = () => {
let scheduler: DayPilot.Scheduler;
return...
UndoService in reactjs
Answered: Please see the following tutorial: https://code.daypilot.org/30113/react-scheduler-how-to-enable-undo-redo
Scroll Issue in Resource Column only on Macbook trackpad?
Answered: This should be fixed now in the latest sandbox build (2021.3.5062): https://release.daypilot.org/changes/js/ It looks like Safari started to report a different scrollbar width when a mouse is connect...
Uncaught DayPilot.Scheduler.resources expects an array object
Answered: The Scheduler checks if the object in the "resources" property is an array. If it isn't, it throws this exception. You should make sure that you are passing a correct object. I recommend printing the...
Problem with events and resources background
Answered: The image export only supports a limited set of CSS styles. The Scheduler tries to detect the background color but if you use an unsupported background style it will fail. You can override the auto-d...
Time range context menu does not work
Answered: This looks like an old copy of the demo. You can find the latest version here: https://javascript.daypilot.org/demo/scheduler/eventmenu.html It should work fine for both the time range selection (use...
After update 2020.4.3
Answered: This happens because some of your events use the same ID (the error message refers to "GQS217123") which is not allowed. You should make sure that the event IDs are unique.
DayPilot is not supporting Arabic language
Answered: The RTL text direction is only supported in the Pro version, you can find a demo here: https://javascript.daypilot.org/demo/calendar/rtl.html At this moment, it's not supported in the Lite (open-sour...
Problem with exporting events
Answered: The Scheduler will include events that are loaded at the moment of export (it uses the event data from events.list) in the exported image. If you use dynamic loading (https://doc.daypilot.org/schedul...
Tap on event active area not working relieable on mobile device
Answered: Hi Benny, It looks like the default action uses "click" event which is not reliable on touch devices. It will be fixed in the next release. You can use 'action: "None"' as a workaround - that will bi...
Bubble showAfter setting has no effect
Answered: The bubble opened by an active area (action: "Bubble") is always displayed immediately. If you want to delay it you can use the following code:
args.data.areas = [
{
right: 0,
...
Disabled cell still working if my event is longer on the right than disabled cells
Answered: You should check if you really disable the correct cells. The background color needs to be set separately so it's possible that you didn't disable all the colored cells. It's unlikely that the Schedu...
Resize and drag not working if ShowNonBusiness is set to False
Answered: I was using the latest version. I now found the issue on a js conflict. I'm using prototype.js that has an "any" function that was throwing an error when moving or resizing event on the scheduler. Th...
Resize and drag nor working if OnIncludeCell event is used
Answered: This seems to be the same issue as https://forums.daypilot.org/question/5371/resize-and-drag-not-working-if-shownonbusiness-is-set-to-fa
Scheduler TimeHeaderRow incorrect width
Answered: The auto-width features (row header width auto-fit and cell auto width) rely on the actual rendering to get some measurements. That happens in cases when it is not possible to calculate all dimension...
Scheduler RowHeaderHideIcon position does not update
Answered: This should be fixed now in the latest sandbox build (2021.1.4903): https://release.daypilot.org/changes/js/
Scheduler Alignment Bug in Chrome
Answered: Unfortunately I don't see the issue in the online demo of the Lite version: https://aspnet.daypilot.org/demo/lite/Scheduler/ It might be a CSS interference issue - you can try to disable the global C...
DayPilotCalendar.UpdateWithMessage() not displaying message since 2020.4.3775
Answered: This issue should be fixed now in the latest sandbox build (2021.1.3785): https://aspnet.daypilot.org/sandbox/ Please let me know if the problem persists.
Scheduler RowHeaderAutoFit doesn't shrink row header
Answered: Tim, This feature was designed to only extend the width. The latest sandbox build (2021.1.4889) now includes an experimental rowHeaderWidthAutoFitShrink property which you can use to enable shrinking...
Daypilot Scheduler Angular throws error cannot read property 'clientWidth' of null
Answered: Unfortunately, I'm not able to reproduce the problem. Could you please send a sample project that reproduces the issue to support@daypilot.org? You can generate a blank project at https://builder.day...
Uncaught RangeError: Maximum call stack size exceeded for versions after 4481
Answered: This indicates an infinite loop and it might be caused by an event handler or another method calling itself recursively. You might be able to find the problem by checking the stack trace. Please let ...
Bug with scrolling resources on mobile devices
Answered: This has been intentionally disabled in 2019.4.4089 (https://javascript.daypilot.org/daypilot-pro-for-javascript-2019-4-4089/). iOS 13+ introduced some changes in onscroll handling which broke the sy...
End date of an area in Event needs one day added
Answered: The active areas always work with exact date/time points and they are not affected by the eventEndSpec setting.
Event creation does not work
Answered: The tutorial is now updated and it uses the following logic:
dp.onTimeRangeSelected = function (args) {
var name = prompt("New event name:", "Event")
dp.clearSelection();
if (!name) {
...
possible bug on "Real-Time Drag and Drop Indicators"
Answered: This issue should be fixed now in the latest sandbox build (2021.1.4838). https://javascript.daypilot.org/sandbox/
Event Calendar bug when resizing
Answered: This problem should be fixed now in the latest sandbox build (2021.1.4840): https://javascript.daypilot.org/sandbox/
Scheduler: Cannot read property 'y' of null
Answered: This can happen if you enable keyboard access with keyboardTarget = 'document' and hit enter before focusing a grid cell. It should be fixed now in the latest sandbox build (2020.4.4821).