Questions Tagged
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 ...
Bug in Calendar Lite Version - When moving an event to another location you cannot return the event to its previous location
Answered: I confirm the bug. It doesn't update the state information correctly during callbacks. Any change that returns events to their original state is interpreted as "no change". This bug is now fixed in t...
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 ...
Cell from 00:00:00 to 23:59:59 and not 12:00:00 to 12:00:00
Answered: You are probably using the sample project from the Hotel tutorial: https://code.daypilot.org/27453/html5-hotel-room-booking-javascript-php That project uses a manually generated time scale to adjust ...
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;
...
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...
Example Grails Code?
Answered: Unfortunately this sample relies on the Microsoft EWS library which is only available for .NET so there is no easy way to translate this project to Grails.
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...
The 'Press and Hold' does not seem to work
I get the menu to popup on my mobile device and then it closes before I can interact with is. Very frustrating. What can I do to get this working?
Differences between Calendar and Scheduler + Why a person would choose between them?
Hi Dan and Team, Please would you explain the differences between a Calendar control and Scheduler control and why one person would choose between them? I've inherited some code which I am progressin...
Event Multi-Resize
Answered: Event multi-resizing isn't fully supported in the latest MVC version (8.2). The code above is for the JavaScript version and it may not work properly with the MVC version. However, the support for mu...
How to: Disable the appearance of a context menu for types of users?
Answered: You can disable the context menu for selected users using BeforeEventRender event handler - by setting e.EventRightClickEnabled to false: https://doc.daypilot.org/scheduler/event-customization/
calendar & compatibility
hello, If I mark the configuration of the web (IE 11/10) To copmatibilty view setting = V So the header of columns not present display. I can not turn off the configuration for other software on my c...
Event Drag And Drop Between 2 Scheduler
I have Scheduler, Scheduler1 & Scheduler2 both have "cellDuration" property set to 30 mins. but when i drag and drop an event from Scheduler1 to Scheduler2, in scheduler2 it will create an event with...
Mouse Cursor Alignment Problem When Dragging An Event From One Scheduler To Another
I have 2 DayPilot scheduler in my page and i want to drag and drop an event from scheduler1 at top to the scheduler2 at bottom. Currently I'm able to do the drag and drop but when I'm dragging the ev...
Switch X and Y axis on HTML5 Timesheet
Answered: You can use the Calendar control which has the axes switched. If you want to show more days (more than the usual week) you can use fixed column width: https://doc.daypilot.org/calendar/fixed-column-w...
AngularJS themes not working
Answered: This bug should be fixed now in the latest sandbox build (8.2.2266): http://javascript.daypilot.org/sandbox/ Let me know if there is any problem. And thanks for reporting the issue!
While dragging an event mouse cursor will not be in proper position in Scheduler
Answered: This issue should be fixed in the latest sandbox build (8.2.2268): http://javascript.daypilot.org/sandbox/ Let me know if the problem persists.
ShowNonBusiness is not working In Scheduler
Answered: All properties of the DayPilot JavaScript objects use lower camel case (just like JavaScript generally). Try this instead:
$scope.dpc.businessBeginsHour = 8;
$scope.dpc.businessEndsHour = 18;
$...
onBeforeCellRender set cell properties
Hi all, I'm using the Daypilot Calendar in ored to manage a SPA appointmens. On the columns I have the treatment rooms and on the rows the timeframe. I'm wondering if it's possible to add a cell prop...
Different calledar for users
Answered: You can access the Controller using "Controller" property from within the Dpc class. Given that the user id is available as User.Identity.Name you can use something like this to filter the events:
...
Which java script files and functions are absolutely essential to close a modal form?
Answered: With the default settings, the modal dialog uses an iframe to display the content. That means the content is working with a different window context. In order to open the modal dialog, you need to in...
I've managed to open a modal form from code-behind, I now need to close it.. Please advise on how....
Answered: See also the explanation here: http://forums.daypilot.org/Topic.aspx/3328/which-java-script-files-and-functions-are-absolutely-essent 1. The source page using UpdatePanel should be no problem (you op...
close modal dialog
Answered: It's not possible to close the modal dialog from the server side. In the MVC samples, a slighly different approach is used - the form displayed in the modal dialog is not submitted in a traditional w...
Menu will not display on Mobile
Answered: The context menu opens on right mouse click on the desktop. This event either doesn't exist or mapped unreliably to a touch gesture on touch devices. So the best way to make the context menu accessib...
Is it possible to display a Daypilot modal dialog form from the code behind of a web form?
Answered: The only way to open the modal dialog from the server side is to run the required js code using RegisterStartupScript() method. This technique is used by the Util.Modal class that comes with the moda...
Hiding resources with no events
Answered: load only resource which has events from loadResources Method.