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...
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.
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...
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...
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 ...
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...
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 ...
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/
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_...
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...
Answered: You can set the gradient using the "backColor" property. See also: https://api.daypilot.org/daypilot-event-data/ This example uses DayPilot.ColorUtil.lighter() and DayPilot.ColorUtil.darker() helpers...
Answered: There are a couple of issues with this example: 1. If you set args.async = true, you must call args.loaded() in every code path. Otherwise the dragging operation will remain active. The first "if" bl...
Answered: This seems to be fine and a static version of your sample works well in my tests: dp.events.list = [ { id: DayPilot.guid(), text: '', resource: "frozen1", start: "2022-02-01", end: "2022-02-10", back...
Answered: It is not possible to set border-radius using a special property at the moment. However, you can can use cssClass to set multiple classes (separated by space).
Answered: I recommend using the browser devtools to check the DOM structure. If an event is partially hidden (outside of the current viewport), the Scheduler adds a special <div> element with "scheduler_defaul...
Answered: At this moment, the Calendar component uses fixed time blocks but it is possible to use a workaround and map the block number to the hour/minute part of the start/end time. This approach is used in t...
Answered: This is not supported in the Calendar component at the moment but you can take a look at the Scheduler component which can group concurrent events automatically: https://doc.daypilot.org/scheduler/co...
Answered: > If we have multiple event can we show +2 or +3 etc Please see my answer here: https://forums.daypilot.org/question/5848/multiple-event > in weekly can we change date format You can change the calen...
Answered: It depends on what "will not work" means - the field is read-only, can't be focused, you can't type in the field, the new value is not available in modal.result? I recommend inspecting the <input> el...
Answered: Yes, the database connectivity is available in the trial version as well. Please take a look at the ASP.NET Scheduler tutorial which shows how to use DayPilot with SQL Server: https://code.daypilot.o...
Answered: Unfortunately, I'm not able to reproduce the issue. Which version of Safari, iOS and DayPilot do you use? Safari and Chrome use the same engine on iOS and they should behave exactly the same.
Answered: All main components (Calendar, Month, Scheduler) provide visibleStart() and visibleEnd() methods that you can use to get the start and end of the current date segment (calculated from startDate/days)...
Answered: The Scheduler cells are marked with "scheduler_default_cell" CSS class (when using the default theme): .scheduler_default_cell { font-weight: bold; } See also: https://doc.daypilot.org/scheduler/css-...
Answered: You can add the icon using an active area which lets you specify an onClick handler. Active areas are supported in time headers, row headers, events, and cells. Here you can find an example of a row ...