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 year ago.

Hi everyone,

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

Answer posted by Dan Letecky [DayPilot]
1 year 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 year 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 year 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 months old and has been closed. Please create a new question if you have anything to add.