The eventBorderRadius property (number or string) applies the specified border radius to events and drag-and-drop shadows using inline styles in the JavaScript Scheduler.
Available since 2024.3.6155.
DayPilot.Scheduler.eventBorderRadiusnullIf you use a number such as 15, DayPilot applies it as a pixel value ("15px"). String values should use the CSS format supported by the border-radius style.
This property lets you override the event border radius defined in the CSS theme.
You can also set the border radius for individual events using the onBeforeEventRender event handler (args.data.borderRadius).
JavaScript
const dp = new DayPilot.Scheduler("dp", {
eventBorderRadius: "25px",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
eventBorderRadius: "25px",
// ...
};React
<DayPilotScheduler
eventBorderRadius="25px"
{/* ... */}
/>Vue
<DayPilotScheduler
eventBorderRadius="25px"
<!-- ... -->
/>CSS Themes [doc.daypilot.org]