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

full display for Calendar

Asked by Seog
16 days ago.

Hi,

I am working with DayPilot Calendar and showing weekly view. I am trying to show all 24 hours by doing following:

var dp = new DayPilot.Calendar("dp");

dp.startDate = "2020-05-03";
dp.viewType = "Week";
dp.HeightSpec = "Full";

But the HeightSpec has no change on the view. View does not change and it's only showing 360px with scrollbar.

Answer posted by Dan Letecky [DayPilot]
16 days ago.

In the JavaScript version, all member names follow the camel case convention. You need to use "heightSpec":

https://api.daypilot.org/daypilot-calendar-heightspec/

Comment posted by Seong
15 days ago.

That worked. Thank you.

New Reply
This reply is
Your name (optional):