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

Expended End Date

Asked by Maheswar Reddy
8 years ago.

I would like to get dotted line for expected end date for event.Please check the following attachment.
we should not extend the red dotted line and we can able extend the normal event.
If we resize an event the red dotted line should hide.

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

If this solution doesn't work for you (it spans the event box till the dotted end):

http://forums.daypilot.org/Topic.aspx/2834/expected-end-date

you can use two separate events (one with the actual duration, one for the expected difference) and disable all actions (resizing, moving, etc.) on the dotted one.

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

Another option is to use the "event versions" feature:

http://doc.daypilot.org/scheduler/event-versions/

It will let you define an event version that will be displayed above the event. It can have a custom start, end, color, text, CSS, etc. It can't be moved or resizes. You can use it to define the expected duration. There can be more than one version of the same event (e.g. for all previous plans).

See also a demo here:

http://javascript.daypilot.org/sandbox/scheduler/eventversions.html

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