search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How change the height of all-day-event's row

Asked by Vahid
1 month ago.

Hi everyone,

how could be increased the height of the all-day series of events?

Answer posted by Dan Letecky [DayPilot]
1 month 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
1 month 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]
1 month 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();
New Reply
This reply is
Your name (optional):