Answered: In the Pro version, you can use the onBeforeCellRender event handler to customize the calendar cells - you can add custom CSS class to selected cells or modify the appearance directly. Unfortunately,...
Answered: The option to turn the snap-to-grid behavior off is already implemented and it is available in the latest release ( 2023.4.5838 ). It works for event moving, event resizing and time range selection. ...
Answered: This is a regression. It looks like in the Resources view, the latest version returns the column index instead of the resource id. It will be fixed shortly.
Answered: This happens because snap-to-grid is turned on. You will need to turn it off, at least for the time range selection. There is a tutorial that shows how to customize the time range selection in real t...
Answered: The Pro version of the Calendar component may use a slightly different DOM structure, as required by the advanced features. You may need to adjust your CSS customizations a bit. As a general guidelin...
Answered: At this moment, there is not built-in property for specifying a context menu for the calendar headers but you can use one of the following options: 1. Use an active area with action: "ContextMenu" an...
Answered: Sorry for the delay! The header cell is marked with calendar_default_rowheader CSS class which applies overflow: false style to the cell. In order to shift the content (hour label) out of the cell yo...
Answered: You can switch the CSS theme using the update() method: dp.update({theme: "my_dark_theme"}); And back: dp.update({theme: "my_light_theme"}); Both theme files need to be included in the page using <li...
Answered: In the latest sandbox build (2023.4.5825), the header width is set using CSS. It doesn’t rely on the width detection anymore - that will result in a smooth animation during resizing.
Answered: 1. First, check if you use the correct value for the useEventBoxes property (see Exact Event Duration in the docs). The default value ( "Always" ) aligns the event boxes with the grid cells. 2. It co...
Answered: Yes, no problem. DayPilot is a purely client-side solution so you can use it with any backend. This example includes a .NET 7 project but you can use the same source code with .NET 6 as well. You jus...
Answered: There are two issues: 1. The action property can only have one of the predefined values (see the API docs ). A drag handle that triggers resizing must use either "ResizeStart" or "ResizeEnd" . 2. The...
Answered: The calendar component doesn’t re-render events when the width changes. The resizing itself is fully handled by the browser (so there is nothing to optimize). Generally, it will take longer if the re...
Answered: Yes, you can use the writing-mode CSS property: .scheduler_default_event_inner { writing-mode: vertical-lr; } or .scheduler_default_event_inner { writing-mode: vertical-lr; transform: rotate(180deg);...
Answered: If you mean the option to turn off 'snap to grid' (as in the Scheduler), this feature is planned and will be introduced in one of the future releases.
Answered: This happens if you specify both text and html properties for events. This regression incorrectly applies text if both values are specified - the html property should have higher priority. It should ...
Answered: You can customize the drag-and-drop moving behavior using the onEventMoving event handler. It lets you forbid the drop depending on the source event and the target position.
Answered: You can customize the Scheduler event appearance using the onBeforeEventRender event handler. It lets you apply custom CSS class to the event, and specify event phases using active areas . See also t...