The eventPadding property (number or string) applies the specified padding to events via inline styles in the JavaScript Scheduler.
The value should be a string in the CSS format for the padding style. If the value is a number (e.g. 5
) it will be applied as a pixel value ("5px"
).
It lets you override the CSS defined in the CSS theme.
You can also set the padding for individual events using the onBeforeEventRender event handler (args.data.padding
).
Available since 2024.4.6200.
null
Scheduler config:
{
eventPadding: "5px",
// ...
}
Event calendar/scheduling AJAX components. Available for JavaScript/HTML5/jQuery, ASP.NET, ASP.NET MVC. Build resource booking, project management, time tracking applications, personal and shared event calendars.