Answered: At this moment, the events always snap to grid in the Calendar during drag and drop. In the Scheduler , it is possible to turn off the snap to grid feature and implement a custom snap-to-grid logic ....
Drag and drop works well, except it arbitrarily skips certain cells, those that correspond to whole hours. They are not disabled or anything, but if I try to place the event there, it moves it a quar...
Answered: There are two options: 1. In the latest sandbox build (2023.3.5737), there is a new rowMoveSameLevelOnly property that lets you limit the target position of a row to the same level in the hierarchy o...
Hello, would you please add a possibility to have a date type column in daypilot modal table ? It would help a million times. Or is there some way to hack it ?
Answered: Unfortunately, scrolling through the Scheduler grid by 'swiping' with the mouse is not supported. If you would like to scroll the Scheduler automatically during drag and drop operations (moving, resi...
Answered: This issue should be fixed now in the latest release (2023.3.5731): https://javascript.daypilot.org/daypilot-pro-for-javascript-2023-3-5731/ Please let me know if the problem persists.
Answered: Both onEventClick and onEventClicked are available in the Lite version. You can verify the availability of feature in the Lite version in the feature matrix or using the TypeScript definitions that a...
Answered: I confirm the bug - it should be fixed now in the latest sandbox build (2023.3.5728): https://release.daypilot.org/changes/js/ Please let me know if the problem persists.
Answered: Both the tags and cssClass properties are available in the Lite version as well. You can find a full list of available event properties in the API docs for DayPilot.Event.data object. These propertie...
Answered: The latest sandbox build (2023.3.5726) now supports a new getCoords() method which you can use to get the date/time value corresponding to the current mouse position: onEventClick: args => { const co...
Answered: If you want full control over the printed output, it is necessary to use PDF export. This way you can define the the individual pages. You can find an example here: https://code.daypilot.org/73551/ht...
Answered: Try this var smallscreen = (window.screen.width < 800); if (smallscreen) { // use a weekly or daily calendar var dp = new DayPilot.Calendar("calendar", { //viewType: "Week", timeRangeSelectedHandling...
Answered: It appears that you're running into a closure issue. When you define a function inside a component, it captures the values of the state and props at the time of the function's creation. In your case,...
Answered: Yes, there turned out to be a problem with the tooltip for calendar events. It should be fixed now in the latest sandbox build (2023.3.485): https://javascript.daypilot.org/sandbox/lite/
Answered: It looks like in the latest Safari/Chrome on macOS it flickers, indeed. It should be fixed now in the latest sandbox build (2023.3.5696): https://release.daypilot.org/changes/js/ Please let me know i...
Answered: Using DayPilot Pro in production requires a full license. In case of an internal application, it’s the “Web” edition (see also the Buy page). The trial version license is limited to 60 days and is fo...
Answered: The trial version is good for testing and evaluation. If you want to use it in your application, you will need a full license (the “Web” edition in case of an internal application). See also the deta...
Answered: Yes, this should be no problem. I’m including a couple of screenshots and links to features that will help you implement what you need: 1. The timeline can be customized as needed. If the built-in un...
Answered: It is possible to skip weekends by manually splitting an event into multiple segments but it would be difficult to handle them together. It might be better to use active areas to add a highlight to t...
Answered: Unfortunately, this is not possible. The event box can’t be made shorter than the real event duration. In this case, you would have to adjust the event start/end before loading it in the Scheduler.
Answered: Thanks for reporting the issue! The current date is changed using the onTimeRangeSelected event of the date picker (Navigator): const navigatorConfig = { // ... onTimeRangeSelected: args => { calenda...
Answered: At this moment, it is not possible to have links between events in a frozen row and the main grid. However, the links are due for a review, and curved links will be supported in the future. We will a...
Answered: It sounds like you are using the browser's session storage to keep track of the scheduled tasks in your timesheet, and the data is vanishing when you reopen the same timesheet. The data stored in ses...
Answered: In the Calendar component, you can customize the hour header (displayed on the vertical axis) using the onBeforeTimeHeaderRender event handler and display custom content, including the hour data from...
Answered: In the onBeforeRowHeaderDomAdd event handler, you can specify the target that of the custom element using the args.target property. By default, it is set to "Cell" . In this case, it will overwrite t...
Answered: If you use scale: "Hour" , which displays one hour per cell , you can hide the non-business hours using the built-in mechanism. React example: import React, { useState } from 'react'; import { DayPil...