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

Questions Tagged how-to

Business hours management scheduler

Answered: I assume that you mean the feature that lets you skip non-business hours during event moving. This adjustment is only applied during event moving and not to the data source. The Scheduler assumes tha...

groupConcurrentEvents expand/close all

Answered: You can find an example in the following demo: Group Concurrent Events (Demo) It shows how to add an expand/collapse icon to the row headers using the onBeforeRowHeaderRender event handler.

Auto fill scheduler events to cell height

Answered: Unfortunately, that is not possible. Events are arranged in horizontal lines inside rows (see also Event placement strategies) and the line height is determined by the event height. It is possible to...

ideas for grouping events in Calendar

Answered: The best way would probably be to add the nested events as active areas inside events. The position of active areas can be specified in pixels (top/bottom/height properties) or you can replace top an...

DayPilotMonth - span multiple pages based after x number of events

Answered: Update: The Weeks mode is fully supported by the server-side image export so you can export individual weeks by setting ViewType to Weeks (DayPilot.Web.Ui.Enums.Month.ViewTypeEnum.Weeks), Weeks to 1 ...

Need to show horizontal scrolling on top also

Answered: Unfortunately, this is not supported. However, if the problem is that the bottom scrollbar is not accessible without scrolling, I recommend checking the heightSpec property which lets you set the hei...

Scheduler export date range problems

Answered: By default, the exportAs() method includes the current viewport in the exported image. You can use the area property of the options parameter to include the full timeline (area: "full") or a manually...

How to change time from am,pm to 24h

Answered: The easiest way is to use a locale for which the timeFormat property is set to "Clock24Hours". You can also customize individual properties directly - see localization in the docs.

Next.js Resource-Scheduling Calendar (Open-Source) i have a problem using it on mobile the controls are the problem

Answered: The open-source version doesn’t support all functionality on touch devices at the moment. For example, you can click a time slot to select it but you can’t select multiple cells by dragging. The full...

How to detect click on disabled cell

Answered: Please take a look at the following tutorial, which uses onTimeRangeSelecting, onEventMoving and onEventResizing to disable custom time segments (that do not correspond to whole cells): JavaScript Sc...

Cell Height for the event no correct

Answered: It the open-source version, the event box is always aligned with the grid cells. In the Pro version, it is possible to turn off this behavior (see exact event duration). The real start and end is hig...

How to get the event div position in daypilot

Answered: You can mark the event div with a custom attribute using the onAfterEventRender event handler: onAfterEventRender: args => { args.div.dataset.eventId = args.e.data.id; } Than you can get the even...

Cannot Change View Type To "Resources"

Answered: Most likely, you are using DayPilot Lite for ASP.NET WebForms - the open source version for ASP.NET. At this moment, the resources view is supported in the open-source JavaScript version and in all P...

DayPilotMonth Integration with MS Outlook

Answered: You are right, this iCalendar tutorial is a bit outdated. I’ve added your request to the tutorial plan and it should appear at code.daypilot.org soon. We don’t plan to add iCalendar support directly ...

Changing date format on Day/Week view

Answered: You can use the locale property to apply culture-specific settings (such as date format, first day of week….). const calendar = new DayPilot.Calendar("calendar", { locale: "en-au", // ... }); ...

daypilot-pro-angular - Angular version 15

Answered: Please make sure that you are using the latest DayPilot Pro version. Angular Ivy is supported since version 2022.2.5344.

Summing cost values stored in "tags" (args.data.tags.cost)

Answered: Yes, you can do it using the onBeforeCellRender event, like this: onBeforeCellRender: args => { if (args.cell.row.data && args.cell.row.data.frozen) { const events = scheduler.events.forRange...

isnt working

Answered: Do you see any error in the JavaScript console?

Scheduler watch update events

Answered: In order to detect changes performed by the Scheduler UI in Vue, you need to watch the source object. Like this: <template> <DayPilotScheduler :events="events" :resources="resources" ...

Event Calendar Delete Confirmation?

Answered: When you use an async function in the event handler, calling args.preventDefault() after await has no effect as the processing continues immediately (before args.preventDefault() gets called). You ne...

Multi day selection in week view

Answered: Unfortunately, this feature is only available in the Pro version at the moment. In the open-source version, the selection is limited to a single column of the Calendar component.

Check For Overlap with Javascript

Answered: You can do it in the onEventMove event handler using the events.forRange() method: onEventMove: args => { const movedEvent = args.e; const newStart = args.newStart; const newEnd = args...

Initialize Calendar to Show Start and End Time on Event

Answered: The showEventStartEnd property isn’t supported in the open-source version of the Calendar component at the moment. However, you can customize the event content as needed using the onBeforeEventRender...

Regarding removal of header as given in attached file with email.

Answered: Please see the src/index.html file in the project attached to the Angular Scheduler: Event Filtering tutorial - the header is defined there.

Cancel menu deactivation

Answered: To prevent the menu from closing when an item is clicked, you can add an onClick event handler to the items and stop the click event from bubbling: const menu = new DayPilot.Menu({ items: [ {...

When expanding tabs in scheduler vertical scrolling stops working

Answered: Hi The problem gets fixed by using the following one to open all the tabls. dp.rows.expandAll(); Thank you for the great library. Martin

increase day-time insert events column

Answered: The cell duration (and number of cells per hour) can be configured in the Calendar, but this option is only available in the Pro version.

How to get response to a radio form

Answered: In this case, modal.result holds a copy of the data object. Its properties are set according to the user selection. So, in order to get the radio selection, you need to read modal.result.resource. To...

How to move events across half day in the scheduler without setting time manually once the even is dropped

Answered: There are two options: 1. You can set the cell duration to half a day: { scale: "CellDuration", cellDuration: 720, // ... } The time headers are independent and you can use "Day" as the gro...

Selecting Multiple Rows Header On Row Click

Answered: You can add the row to selection in onRowClicked using the rows.selection.add() method. It is also possible to implement a “toggle” logic using rows.selection.isSelected() and rows.selection.remove()...
Questions 1-30 of 2995 Next