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

Group resources

Asked by Keith
2 months ago.

Hi

I have a requirement to group resources within a tree so that each level of the tree can contain multiple resources. For example,

+ World - Supplier 1

  • Supplier 2

+ Africa - Supplier 1

  • Supplier 2

The data would look something like

ParentID, Name, Supplier, Event
null, World, Supplier1, Event WorldS1
null, World, Supplier2, Event WorldS2
World, Africa, Supplier1, Event AfrS1
World, Africa, Supplier2, Event AfrS2

Is this possible?
Thanks

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

Unfortunately, this kind of arrangement is not supported at the moment. The parent resource will always be displayed as a separate row.

Comment posted by Keith
2 months ago.

Hi Dan thanks for the reply. Is it possible to control the layout of resource events as in to make events render on separate lines? I've played about with the sorting and exact positioning which works great for overlaps but when no overlaps, events are displayed on the same row.
Thanks
Keith

Comment posted by Dan Letecky [DayPilot]
1 month ago.

At this moment, the events are always displayed as high as possible. You can change the order but you can't force a bottom position.

If you want to keep several related events on the same line you there are two options;

  • use a special row for them
  • merge them into one event and display the segments using active areas

See also:

https://doc.daypilot.org/scheduler/event-phases/
https://code.daypilot.org/82331/javascript-scheduler-warm-up-and-cool-down-time

New Reply
This reply is
Your name (optional):