I'm loading initial data using the following:
scheduler.project.loadInlineData(backend_data)
I have a bunch of events set to the same resource.
I would like the scheduling engine to automatically assign start date of each events(programmatically), prenventing overlap.
I tried setting the startDate of each events to null, but it won't render anything.
I tried setting the startDate of each events to the same date, but then the scheduler just stack them on the same date, even if allowOverlap is false.
Note that there is no depencies between the events on the same resource, those are independant task but it needs to avoid overlapping.
Example model data:
A work order has a list of operations with configured depencies.
The operations are the events, and they are assigned to a resource (a machine that can perform the operation).
WorkOrder1: Oper1 -> Oper2 -> Oper3
WorkOrder2: Oper1 -> Oper2 -> Oper3
WorkOrder3: Oper1 -> Oper2 -> Oper3
---
Now imagine having hundreds of work orders.
I'd like to load them all in the scheduler, and then it would schedule start/end date of each work order's operation, without creating overlap between the different work orders. The order in which it would 'append' each work order could be based on a priority field.
Is that possible ?