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

Questions Tagged

Feature: Display in new line if event overlaps htmlLeft / htmlRight of another event.

Answered: The element that displays htmlLeft/htmlRight content has variable width and it's not possible to calculate the real width without expensive pre-rendering. However, you can use a workaround: You can r...

modal.form html inputs

Answered: This is not a typical scenario but you can use the onClose event handler to query the content before it is removed from DOM: https://api.daypilot.org/daypilot-modal-onclose/

VueJS, DayPilotCalendar, resource view

Answered: In the Lite (open-source) version this is not possible at the moment but in the Pro version you can customize the calendar column headers using "onBeforeHeaderRender" event handler: https://doc.daypi...

Any Option for Max-Width for the columns or Resizable height

Answered: In the latest sandbox build (2022.4.5479), there is now a new property (maxAutoWidth) added to the rowHeaderColumns array items that lets you specify a maximum width that will be respected during row...

How can I get the line of event?

Answered: I do not recommend storing individual line numbers in the database. A fixed line number should only be used for selected events that you want to display in a specific position, out of the standard or...

dblclick is not working after daypilot upgrade

Answered: From your example it's not obvious what kind of element that is and where you add it (it is not part of the standard Scheduler structure). Please note that the Scheduler parts are rendered progressiv...

Trying to update resource row using timerange selected

Answered: This error has been fixed in version 2022.3.5391: https://javascript.daypilot.org/daypilot-pro-for-javascript-2022-3-5391/ Please let me know if the problem persists.

inlineEdit is not accessible from originalEvent after updating daypilot from 2019 to 2021

Answered: In older DayPilot versions (including 2019 versions), the event handler object (args) was not typed (type any). The args.originalEvent holds a MouseEvent object (unmodified event object from the clic...

Issue when updating resources

Hello, I am using the scheduler type calendar, and when I try to make an update with the resources, I get the following error: TypeError: Cannot read properties of undefined (reading 'hidden') ...

Scheduler - How to center multiple active areas horizontally in row header column

Answered: Unfortunately, it's not possible to center a variable number of active areas horizontally. The width is not adjusted because active areas are displayed in a separate layer which is not part of the ro...

How to use Previous and Next in the DaypilotMonth..?

Answered: The React monthly calendar component works the same way - you need to update the "startDate" property and provide the event data for the new range using "events" property. Another option is to update...

Scheduler - active area images flicker during scheduler resizing

Answered: I'm not sure if you will be able to get rid of the flicker. During zoom, the Scheduler is re-rendered with the updated timeline and dimensions (including the row headers). There are a couple of thing...

DayPilot.Modal Form

Answered: Unfortunately, this is not possible at the moment.

Scheduler - onTimeRangeRightClick not fired on frozen rows

Answered: This should be fixed now in the latest sandbox build (2022.4.5471): https://release.daypilot.org/changes/js/

Scheduler: consecutive events appear as overlapping with high zoom level

Answered: In some cases this can happen. It's a result of the following logic: 1. The Scheduler enforces a minimum event with of 1px. 2. The overlaps are resolved on pixel level. These rules are necessary to e...

How I can Update events coming from api response..?

Answered: You need to get a reference to the DayPilot.Month object (using "ref" attribute) and call its update() method to display the events. You can find an example here (see the "How to load calendar event ...

get all the months in a year

Answered: The date picker component can be configured to display multiple months: https://doc.daypilot.org/navigator/months/ They can be arranged vertically or horizontally: https://doc.daypilot.org/navigator/...

Show event bubble in Queue?

Answered: Event bubbles are now supported in the Queue component in the latest sandbox build (2022.4.5467): https://release.daypilot.org/changes/js/ You can use the standard API: https://api.daypilot.org/daypi...

Use keyboard with daypilot angular

Answered: The Scheduler attaches "keyup" and "keydown" event handlers to the document element if you enable keyboard support using "keyboardEnabled: true". It uses the document object as the event target (you ...

How to change text in active area.

Answered: It is not possible to change the text of an existing active area using the Scheduler API. The Scheduler is built on a "refresh" model - you need to update the state first and then request an update t...

Scheduler - Frozen row not on the top layer

Answered: I recommend checking your custom CSS theme: If you define z-index for the event boxes, they will appear on top of everything. The Scheduler doesn't use z-index for any element.

How we can Update events coming from api response

Answered: I recommend checking the data that comes from the API endpoint - there might be a problem with the format (most likely the "start" or "end" properties).

Scheduler - Is it possible to show whole days, although cell duration is half-day

Answered: You can use onBeforeGridLineRender to hide selected grid lines in the Scheduler: https://api.daypilot.org/daypilot-scheduler-onbeforegridlinerender/ You can also use a different approach - set scale ...

Area ResizeStart, ResizeEnd, Move actions no longer work on the event calendar for touch devices.

Answered: This should be fixed now in the latest sandbox build (2022.2.5463): https://release.daypilot.org/changes/js/ Thanks for reporting the issue!

Angular DayPilot Lite Library - DayPilot.Calendar class missing property "headerDateFormat"

Answered: This should be fixed now in the latest sandbox build (2022.4.434): https://release.daypilot.org/changes/jslite/ The next official release will be available next week. Thanks for reporting the issue!

Start drag and drop programatically (Scheduler)

Answered: That is not possible but you can activate any element to be draggable to the Scheduler using DayPilot.Scheduler.makeDraggable(): https://api.daypilot.org/daypilot-scheduler-makedraggable/

Scheduler - Changing the margin for certain events

Answered: Unfortunately, this is not supported at the moment. You can change it using CSS by overriding (increasing) the left/right/top/bottom properties of the inner div (marked with "scheduler_default_event_...

Confirm pop up on calendar

Answered: The onValidate event handler can't be asynchronous. Every change of "args" made after the "await" call in validateDateRequired() method will be ignored. If there are values which you allow but requir...

Can't build Angular 11 project after install paid version library.

Answered: Angular 11 is EOL (see https://angular.io/guide/releases) and since version 2022.2.5332, DayPilot only supports Angular 12+: https://javascript.daypilot.org/daypilot-pro-for-javascript-2022-2-5332/ T...

Gantt Chart - the html(img) is not rendering on the gantt view.

Answered: I recommend checking the DOM element using browser developer tools. If you see a broken image icon, the image path may be incorrect.
Previous Questions 421-450 of 5058 Next