All Questions

DayPilot Scheduler throw Exception when choose weekend, Why!

Answered: This happens because the Scheduler doesn't have any timeline to display. It's an invalid setup. In the latest version it shouldn't throw the exception anymore - it will display an empty scheduler. Wh...

How to change message color (angular)

Answered: Sorry for the confusion. The documentation on .message() was out-of-date. The current syntax allows you to pass additional properties using "options" object like this: dp.message("Test", { cssClass: ...

Any way you can pass a model in BackendURL

Answered: The backend URL is just a URL string and it doesn't allow passing anything else. You can pass custom parameters as an ID, query string or in a cookie. Example for custom query string: @Url.Action("Ba...

How to group resources without tree

Hi Is it possible to visually group the resources without make a tree (with no row for the parent(s) of the resources) ? Like on the screenshoot attached : beds are resources beds B and C are in the ...

Calendar refresh - hotel reservation

Answered: You can use the built-in autorefresh feature: https://doc.daypilot.org/scheduler/autorefresh/ It will fire onAutoRefresh event in the specified interval. The execution is paused during drag and drop ...

Closed modal not cleaning up after itself?

Answered: This is how it works at the moment: If the modal displays a URL (and not custom HTML) it creates an iframe object and uses it to display the target page. Creating the iframe is expensive so it keeps ...

Scheduler Event Resize Issue

In DayPilot Scheduler Event drag is working fine but I cannot resize the event by dragging. Can Anybody help me to fix this Issue? Using following version. DayPilot Pro Copyright (c) 2005 - 2016 Annp...

DayPilot Event Links do not point to accurately

Hi, I am using DayPilot Event Links in my system to show the dependencies oh the workers. But i found that some of the pointer is not pointing to accurate events. Some of them are working normal but ...

Remove Add 1 day to start date on create new event

Answered: The Scheduler uses exact time points. If you select a single day the dates will look like this: * start = 2016-08-10T00:00:00 * end = 2016-08-11T00:00:00 If you store the dates as date only (instead ...

Different CellDuration for scheduler cells and header

Answered: It's possible to insert custom segments into the time headers cells using time-based active areas. This technique is used in the following demo to split a month into thirds: http://javascript.daypilo...

css styling - Calendar and Scheduler daypilot controls

Answered: The HeightSpec value can't be set dynamically using CSS. However, if you use HeightSpec="Parent100Pct" it will automatically adjust the Scheduler height to match the height of the parent element. Jus...

onEventMove - cancel on server error

Answered: Christos, Take a look at the "Asynchronous Validation" demo: http://javascript.daypilot.org/demo/scheduler/asyncvalidation.html dp.onEventMove = function(args) { args.async = true; dp.message("Checki...

snapToGrid not working

Hi, I was trying to apply snapToGrid false in our Scheduler (to be able to resize events by minutes), but it is really not working. Maybe is some other config property that is blocking it. Our config...

Moving Events- Java Script Scheduler

Answered: Are you able to reproduce this issue in the online demo? http://javascript.daypilot.org/demo/scheduler/ There is an option to link multiple events together so they will always be moved and resized to...