How change the height of all-day-event's row
Asked by Vahid
4 years ago.
Hi everyone,
how could be increased the height of the all-day series of events?
Answer posted by Dan Letecky [DayPilot]
4 years ago.
The height of the row with all-day events depends on the content. It will stretch automatically to fit all events.
You can change the all-day event height using allDayEventHeight property:
https://api.daypilot.org/daypilot-calendar-alldayeventheight/
Comment posted by Vahid
4 years ago.
Thanks Dan,
is there any method to change allDayEventHeight property? or how can I change the Property in js?
Comment posted by Dan Letecky [DayPilot]
4 years ago.
Vahid,
This is a property of the DayPilot.Scheduler object. You can specify it during initialization:
const scheduler = new DayPilot.Scheduler("scheduler", {
allDayEventHeight: 30,
// ...
});
scheduler.init();
Or you can change it anytime later:
scheduler.allDayEventHeight = 30;
scheduler.update();
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.