Answered: In the onEventClick and onEventClicked events, you can access the original event as args.originalEvent . Using the original event object, you can check if the source was a touch event: onEventClick: ...
Answered: There are two options: You can mark the unavailable parts of the timeline as disabled (see Disabled cells in the Scheduler , Disabled cells in the Calendar ). If the available slots have a fixed dura...
Answered: The resource bubble receive a simplified resource object with basic information only. However, you can use it to load the full DayPilot.Row object like this: resourceBubble: new DayPilot.Bubble({ onL...
Answered: > Any possibility to show the current timeline or highlight the current cell duration with different background in lite version? This is not supported in the Lite version at the moment. In the Pro ve...
Answered: The events are always rendered at locations specified by start/end. To show the event start at noon you need to specify the time as 12:00 ("2024-0307T12:00:00"). To align the event start/end during d...
Answered: > 1) On the new release, i can’t actually select a cell using left click. This was a nice nice-to-have since and now if i want to see a selected cell i have to click right. What can i do? There has b...
Answered: When resizing the inner section, you need to adjust the args.start and args.end values in the onEventResizing event handler. This is explained in the following tutorial: JavaScript Scheduler: Warm-Up...
Answered: You can find an example in the documentation, Event Moving page (expand the ASP.NET WebForms section to see it): <DayPilot:DayPilotScheduler runat="server" id="DayPilotScheduler1" ... ClientObjectNam...
Answered: After changing the holiday definitions ( globalHolidays ), you need to call the update() method to refresh the Scheduler. This will generate a new time header (using onBeforeTimeHeaderRender ). Also,...
Answered: Unfortunately, the real-time event overlap protection is not supported in the Lite version at the moment. It is only available in the Pro version (see also the feature matrix ). However, you can chec...
Answered: If you want to disable Scheduler cells for drag and drop operations, it is necessary to mark them as disabled in the onBeforeCellRender event handler. The unavailable property of resources is not a s...
Answered: To display time cells with custom duration defined in minutes , you need to set the scale property to "CellDuration" : scale={"Manual"} cellDuration={30] Another option would be to use scale={"Manual...
I don’t want my data to be altered, so i want to be able to free move my event but when released or resized, acting like snap to grid was true. What can i do?
Answered: There is no easy way to do this. You can try detecting the cell dimensions using the internal dp.nav.main property which stores the DOM parent of grid cells.
Answered: The time range selection always stays active, until you call clearSelection() or update the calendar. You might want to check your onTimeRangeSelect / onTimeRangeSelected handlers.
Answered: Unfortunately, custom React components in multiple row header columns are not supported at the moment. Until it is available, you can try using row header active areas to show the icons .
Answered: You can show the bubble using a time header active area : onBeforeTimeHeaderRender: args => { const header = args.header; args.header.areas = [ { left: 0, right: 0, top: 0, bottom: 0, action: "Bubble...
Answered: When you need to load a new task set in the Gantt chart, the best way is to replace the tasks with a new array: const tasks = [ /* ... */ ]; dp.update({tasks}); There is no need to clear the events f...
Answered: You might need to check the value of startOfMonth . Please make sure that it contains correct dates. My guess is that the values don’t correspond to the current view when the separators are not visib...
Answered: The Scheduler has built-in support for quick specification of business hours using businessBeginsHour and businessEndsHour but businessBeginsHour needs to be smaller than businessEndsHour . For more ...
daypilot-core.js:17 Uncaught TypeError: Cannot read properties of null (reading 'style') at DayPilot.Calendar.Ea (daypilot-core.js:17:14081) at DayPilot.Calendar.La (daypilot-core.js:16:23322) at Res...