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

DayPilot.Scheduler.onIncludeTimeCell doesn't render custom scale correctly

Asked by Ash
7 years ago.

When using onIncludeTimeCell with a scheduler that has a config like {scale: 'Day', days: 3} and I have the sample code to hide Sundays, it will hide the Sunday and only show 2 days whereas I was hoping it would show Friday/Saturday/Monday.

Should I be using something different to get the desired result?

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

The onIncludeTimeCell event handler acts as a filter - it's applied after the timeline is generated.

You can also generate the timeline manually using scale: "Manual" mode. This will give you better control over the number of days:
https://doc.daypilot.org/scheduler/timeline/

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