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

Set an EventHeight per event

Asked by Anonymous
12 years ago.

Hi,
I try to set an EventHeight different per event.
For example I want to set the height of some events at 20px and others at 40px.

Thanks for advance for your help.

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

This is not possible in the Lite version.

In the Pro version, you should be able to do this by creating a special CSS class and applying it to the event in BeforeEventRender (in CssOnly mode). Just note that the event frame div will keep the original height, you will only be able to make _event_inner div smaller.

See also (related to creating custom event classes):
http://forums.daypilot.org/Topic.aspx/1907/month-changing-event-background-colors

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