Questions Tagged javascript
Events start to stack vertically when very small
Answered: eventStackingLineHeight is not something we want, conflicting events should stack in a new line 100%. we already implemented the line property before and it wasn’t helping. Now we also added event.co...
Static Security Analysis flags CWE-77 thousands of times
Answered: Basically, the only risk is injection of unsanitized HTML from user input (displayed to other users). DayPilot includes built-in XSS protection. It automatically encodes all input values that are sup...
Admin scheduler crash after moving a waitlist hold in week view
Answered: Yes, could you please create a sample project that reproduces the issue and upload it here or send it to support@daypilot.org?
Scheduler in Angular: onTimeRangeSelected popup/menu opens at wrong coordinates after horizontal scroll
Answered: The standard UI behavior for context menus is to hide them when a page scrolls (this is also what the browser does with the built-in menu). So I recommend hooking the scroll/wheel event and hiding th...
Scheduler issue from /srv/clinicflow/ui-investigation
Answered: You can attach the sample here. If you don’t want to share it publicly, you can send it to support@daypilot.org.
Show Custom Angular Material Popup/Menu Next to Time Range Selection
Answered: At this moment, the Calendar component doesn’t expose the coordinates of the time range selection. It’s an element with .calendar_default_shadow CSS class attached so you can use that to locate it an...
Djangoのアプリ開発
Answered: > Can Timeline be integrated with Django? Yes, you can use it with any framework/backend. A minimal Django template would look like this: {% load static %}
<!DOCTYPE html>
<html>
<head>
<sc...
Implement Sticky Month View Header with Vertical Scrolling
Answered: I have added your feature request to the wishlist.
SchedulerBeforeEventExportArgs missing `text` field
Answered: This should be fixed now in the latest sandbox build (2026.2.6953).
How to show scrollbar for many in resouce calender
Answered: This feature is available in the Pro version: Fixed Column Width In the Lite version, you can use the Scheduler component with switched axes (resources on the Y axis).
Group Resource Calendar Header Column
Answered: Unfortunately, this feature is only available in the Pro version: Calendar: Column Header Hierarchy
Error init_runtime_dom_esm_bundler is not defined after update on May 20, 2026
Answered: Unfortunately, I’m not able to reproduce the error. There was no Vue-related change in the latest release (i.e. between 5.6.0 and 5.7.0). I recommend checking it with a blank project generated using ...
Issue with Cell Border Selection and Event Handling
Answered: This bug should be fixed now in the latest sandbox build (5.8.0-sandbox.830).
Highlight Today and Shorten Weekday Names in DayPilot Lite Monthly Calendar
Answered: You can use the onBeforeCellRender event handler to add a custom CSS class to selected cells. At this moment, the Lite version doesn’t support the onBeforeHeaderRender event. However, you can use a c...
Github - Invalid dependency patterns detected in package.json
Answered: If your internal system forbids loading packages using direct https link, I recommend uploading it to your private registry (TMNA Artifactory).
Calendar Rows Not Matching Event Duration
Answered: By default, the Calendar aligns event boxes with the grid. You can adjust this behavior and display the exact event duration using the useEventBoxes property.
args.alt, args.control, args.meta on drag events
Answered: Hi Leo, This is now added in the latest release (2026.2.6914). In addition to the event handlers, you can also get the current modifier key status using DayPilot.Calendar.getCoords() and DayPilot.Sch...
Right-click drag behaviour differences between Calendar and Scheduler
Answered: Hi Leo, It was just that the Scheduler was ahead. In the latest release (2026.2.6936), the Calendar supports the same behavior: it lets you select a time range using right mouse click. In this case, ...
Infinite scrolling issue, Chrome on Mac
Answered: Hi Leo, There is a problem with the overlay (non-persistent) scrollbar: it is not possible to detect its actual height. So the Scheduler uses a guess value (which is now 14 pixels). If it doesn’t mat...
Critical regression: Infinite scrolling jumps
Answered: The overlay scrollbar fallback is applied only to selected browsers (Firefox everywhere and Webkit on Mac). In Webkit-based browsers you can force a fixed scrollbar (as described here) to solve this ...
onBeforeGridLineRender on DayPilot.Gantt
Answered: Hi Leo, This event handler is now available in the Gantt chart as well (in the latest sandbox build, 2026.2.6926).
Cannot set properties of null (setting 'innerHTML') on disposed instance
Answered: This should be fixed now in the latest sandbox build (2026.2.6904).
DayPilot.Calendar.getCoords() sometimes contains wrong information
Answered: The getCoords() method returns the position in the grid. If you are not in the grid anymore, it returns the last position. So when the mouse is over all-day events, it doesn’t have a useful value.
DayPilot.Scheduler.onEventMoved - no way to check for original even dates
Answered: Hi Leo, For this purpose, there are two events for each action, e.g. onEventMove and onEventMoved. In onEventMove, the args.e object is the original DayPilot.Event object and the new position is avai...
[Calendar] onEventResize returns incorrect args.newStart with heightSpec="BusinessHoursNoScroll" since v4.2.1
Answered: Thanks for reporting the issue. It should be fixed now in the latest sandbox build (2026.2.815).
Scheduler "Manual" scale with empty/undefined timeline error
Answered: This was an unintended side effect and the behavior is now reverted in the latest release (2026.2.6899). Please let me know if the problem persists.
events.findAll() in DayPilot.Calendar
Answered: Hi Leo, It’s now available in the latest sandbox build (2026.1.6887).
daypilot-lite-angular-5.4.1 | Missing namespace implementation Http
Answered: In the latest release, these interfaces were not marked as exported and they got stripped out of the Angular package during build time. It should be fixed now in the latest sandbox build. The fix wil...
Gantt: Add "padding" days
Answered: Hi Leo, It’s now available as paddingDays in the latest sandbox build (2026.1.6886);
Questions 1-30 of 2218
Next