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

full display for Calendar

Asked by Seog
4 years 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]
4 years 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
4 years ago.

That worked. Thank you.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.