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

Different Height for specific Events?

Asked by Mike
7 years ago.

Hi,

It is possible in daypilot.Scheduler to set the height for all events, but is it possible to set the height for specific events? See attached screenshot.

Answer posted by Dan Letecky [DayPilot]
7 years ago.

Yes, you can specify custom height using .height property:

https://api.daypilot.org/daypilot-event-data/

It will overrride the global height set using .eventHeight property.

You can also specify custom event height for selected rows (.resources[].eventHeight):

https://api.daypilot.org/daypilot-scheduler-resources/

Comment posted by Mike
7 years ago.

Thanks, but event.data.height seem not to work.

My boss bought daypilot few years ago. Maybe we are using the lite version or an older one? How can I see if we are using the lite or pro version? in daypilot-scheduler.src.js it says "Copyright 2005 - 2013 Annpoint, s.r.o."

One more thing, we are loading the events by using DayPilot.request("data.php",

var e = DayPilot.Event(...)

e.data.height = 42; //not working

);

Comment posted by Dan Letecky [DayPilot]
7 years ago.

You are using the Pro version (the Lite version doesn't include the Scheduler). The height property is available since version 7.9 SP5:

http://javascript.daypilot.org/daypilot-pro-for-javascript-7-9-sp5/

If you don't have access to this version you can renew your maintenance subscription in the customer area (https://www.daypilot.org/customers/).

Comment posted by Mike
7 years ago.

Thanks,

oh I think we are using an old version unfortunately. (copyright 2005-2013) and 7.9 SP5 is (2014)
Do you know if we are eligible to update our old version to a newer one?

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