DayPilot.Scheduler.eventBorderRadius

The eventBorderRadius property (number or string) applies the specified border radius to events and drag-and-drop shadows via inline styles in the JavaScript Scheduler.

The value should be a string in the CSS format for the border-radius style. If the value is a number (e.g. 15) it will be applied as a pixel value ("15px").

It lets you override the CSS defined in the CSS theme.

You can also set the border radius for individual events using the onBeforeEventRender event handler (args.data.borderRadius).

Available since 2024.3.6155.

Default Value

null

Example

Scheduler config:

{
  eventBorderRadius: "25px",
  // ...
}