Hi Oscar,
Thank you for contacting Syncfusion support.
We have analyzed your requirement. There are two types of views Resource view and Project view available in Gantt and we can achieve your requirement in only in resource view in Gantt by assigning a task with multiple resources, but your requirement cannot be achieved in project view directly. In project view all the tasks should be unique, therefore using editing events we can make two tasks identical in project view. Unlike project view, the resource view has only limited features related to resource allocation.
Please refer the below code snippet for sharing a task between two resources in Gantt with resource view.
|
var resourceGanttData = [
{ taskID: 2, taskName: "Plan budget", startDate: new Date("02/13/2017"), endDate: new Date("02/17/2017"), duration: 5, progress: "50", resourceId: [1, 3] },
]; |
We have prepared the JS Playground sample for your reference please find the sample link below
Please let us know if you require further assistance on this.
Regards,
Punniyamoorthi