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

warm-up and cool-down on Resource Calendar

Asked by Romux
2 years ago.


i want to try something like this:
on the Resource Calender. Warm-Up areas should not appear from left to right but from top to down.

I tried it in many ways like that:

dp.onBeforeEventRender = function(args) {
args.e.areas = [
backColor: "#ccc"

But areas are not shown.

Thanks for your help

Comment posted by Romux
2 years ago.

I found a way to do this now.

args.e.areas = [
{ height: 40px, cssClass: "semi-transparent", left: 4, bottom: 1, right: 1, backColor: "#bfbfbf", html: "<div style='height: 40px'></div>" + umlagerungszeit + "min Umlagerungszeit", style: "font-size: 10px; padding: 0px 0px 0px 2px; color: #1a1a1a"},

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

The Calendar component now supports area.start and area.end properties for event active areas. These date/time values will be used to calculate the vertical position.

It's available since version 2019.3.4012:

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