Answered: The dp.events.update() method ( https://api.daypilot.org/daypilot-scheduler-events-update/ ) requires a DayPilot.Event object ( https://api.daypilot.org/daypilot-event-class/ ) as a parameter. You ca...
If I want to add a calculation can you show me how? I downloaded the full booking system but for my school project, the system should have some sort of a calculation!
Answered: Yes, correct. The .queue() and .notify() calls are only necessary if you want to send an update to the server. If you just want to make a client-side change you don't need to call any of them.
Answered: Just in case anybody stumbles over this problem or wants to achieve something similar I found this page ( https://doc.daypilot.org/scheduler/event-moving-customization/ ) very helpful. You can basica...
Answered: Thanks Dan! We have found the issue. There was a hidden "body { zoom: 80% }" in one of the libraries we used. Removing this solved the problem, and now we can make the correct changes to make everyth...
Answered: I've tested a clean new project generated using Angular CLI 1.7.4 and it works fine. After adding DayPilot Pro 8.4.3056 npm install https://npm.daypilot.org/daypilot-pro-angular/trial/8.4.3056.tar.gz...
When I disable a cell and try to drag an event that starts (or ends) outside the current view to another enabled cell, I get the above error on console. Nothing happens after it. ERROR TypeError: Can...
Answered: The Scheduler can prevents overlap during drag and drop operations ( https://doc.daypilot.org/scheduler/event-overlaps/ ). However, if you need to check the validity of the input values in a modal di...
Answered: Time range double click is disabled by default. You need to enable it first using timeRangeDoubleClickHandling property: https://doc.daypilot.org/scheduler/time-range-double-click/ Let me know if it ...
Answered: Please ignore this question. I have found the issue, there is something wrong with my loadEvent function. The system requires array of objects(something likes [{123},{124}]), however I sent array of ...
Answered: If you have 300 events in events.list this code will fire 300 HTTP requests which will complete in more or less random order. In the success callback, you are requesting a full update() - the update ...
Answered: If you set StoreTasksInViewState="true" the current state of the whole task hierarchy will be saved in the ViewState and it will be available on the server side during PostBacks.
Answered: You can use DayPilot.Util.addClassToString() helper method: args.cell.cssClass = DayPilot.Util.addClassToString(args.cell.cssClass, "my-class"); This will handle the spaces and also check if "my-clas...