search envelope-o feed check
Home Unanswered Active Tags New Question

Questions Tagged javascript

Prevent multiple range inside of itself

Answered: The Scheduler respects the value of allowEventOverlap - if you set it to false, the overlaps will be forbidden.

Compilation error when running unit tests

Answered: This should be fixed now in the latest sandbox build (2025.3.6593). Please let me know if the problem persists.

Add .disposed() to DayPilot.Gantt/Calendar/Navigator

Answered: It’s now available in the latest sandbox build (2025.3.6591).

[Excel export] Cannot merge already merged cells

Answered: Hi Leo, Most likely, it‘s related to the row headers (number of columns, column titles…). You can also try posting the error stack trace.

Is there any option for pagination daypilot gantt chart

Is there any option for pagination daypilot angular gantt chart

Scheduler - Changing area's properties: html and bubble dynamically

I’m using the attached code to show two icons (areas) in the header corner, where I can expand and collapse all header rows (see attached pictures). Is it possible to use just one area for both thing...

CSP violation issues

Answered: The latest release (2025.3.6564) now detects the nonce used by scripts and stylesheets on the page and uses it when registering the built-in stylesheet. You shouldn’t see this error anymore. If you u...

Max and Min dates irrespective of view port

Answered: This data isn’t calculated for internal purposes. You will need to go through the events in events.list and calculate it directly from the data.

Kanban Card DoubleClick

Answered: I have added this to the wishlist.

Scheduler: Cannot read properties of null (reading 'calendar')

Answered: Hi Leo, The error #2 should be fixed now. There was an issue with events located next to a disabled parent row (treePreventParentUsage: true) when you tried to move them into the disabled row and sta...

Is it possible to supply a default value for the "searchable" daypilot modal form

I would like to set an initial/default value when opening a form for a field with the type "searchable", is it possible? Matching by key from data object does not work

Display of events takes too long

Answered: By default, events are rendered progressively and there is a small debouncing delay that makes the scrolling smoother. You can either turn progressive rendering off using dynamicEventRendering or you...

Custom today text

Answered: I assume you mean the DayPilot.DatePicker component. In the latest sandbox build (2025.3.6533), you can now set a custom text of the “Today” button using the todayText property: const picker = new Da...

Only show link when an event is hovered

How would I show the link for an event but only when that event is moused-over? I would like to show links between events but I also want to avoid overcrowding the display with too many links.

Year view Bug in Scheduler

Answered: Thanks. In such a zoomed-out view, the event width can get very small if you turn off the event boxes feature. With event boxes enabled (that’s the default setting), the event width is aligned with t...

An Empty Scheduler Error

Answered: datePattern is a property of DayPilot.Locale. You might want to check the locale value - it must be either a DayPilot.Locale object or a string identifier of a registered locale.

[Calendar] Clicking anywhere in the Calendar triggers a click in another cell ever since upgrading to 3.33.0 and later (4.2.0 current latest version)

Answered: This looks like a regression of a bug that was fixed in 3.32.1 (incorrect args.cell.start/end in onTimeRangeSelect/onTimeRangeSelected events when heightSpec is set to "BusinessHoursNoScroll"). It sh...

DayPilot.Scheduler selection incorrectly selects all events in box

Answered: Hi Leo, This should be fixed now in the latest sandbox build (2025.3.6530). Please let me know if the problem persists.

[Calendar] Snap to current during resize

Answered: I’ve added this to the wishlist, thanks for the suggestion.

Chromium browsers: Cannot read properties of null (reading 'client')

Answered: There is a small delay before the tap-and-hold event action (moving, context menu) is activated (defined by tapAndHoldTimeout). If the event is deleted during this time, you may see this error. In th...

Missing types for DayPilot.Gantt

Answered: The missing TypeScript definitions have been added now in the latest sandbox build (2025.3.6529). The only exception is DayPilot.GanttBeforeCellRenderArgs.cell.areas - this is already available but i...

DatePicker

Answered: The Navigator is limited to selecting a day, week, month or a custom day range (within the visible dates). At this moment we don’t plan to implement year selection and or times.

Best SaaS license

Answered: It looks like you will need the “SaaS Team” license that includes 1 application, unlimited deployed instances (e.g., for scalability or failover purposes) and covers up to 5 developers. Just make sur...

Navigator update

Answered: Most likely, you are using a reference to an old instance that has been disposed already. So I recommend checking how you get the reference and make sure that it’s not an obsolete one.

Need to Sticky Calendar Header on Top

Answered: You can look at the height options, especially heightSpec: "Parent100Pct". This setting makes the Calendar component expand to fill its parent element. A vertical scrollbar is added automatically, so...

Scheduler dynamically change the height config and update visually

Answered: Have you tried using heightSpec: "Max100Pct"? This option is designed exactly for this use case. It will automatically stretch the height as needed, up to 100% of the parent div - then a vertical scr...

Possibility to prevent the text to get highlighted when start editing an event with Scheduler.control.events.edit(event)

Answered: You can cancel the selection and place the caret at the start using the onAfterEventEditRender event: onAfterEventEditRender: args => { setTimeout(() => { args.element.setSelectionRange(0, 0)...

onEventEditKeyDown acces current text

Answered: In onEventEditKeyDown, the args.element property stores the <textarea> element used for editing. You can get the current text using args.element.value.

Export Data Issue in RTL

Answered: At this moment, the image export of the Calendar component doesn’t work for RTL. This feature is in the queue and it will be implemented in the near future.

Unexpected vertical scrolling behavior in Resource View since version 2023.4.5839

Answered: Hi Roman, Since version 2023.4.5839, the Calendar resources view supports a vertical timeline longer than 1 day. To display only 1 day on the vertical axis, you need to set the days property to 1. Pl...
Questions 1-30 of 2102 Next