I would like to bring “update project” function in Microsoft Project to be used in dhtmlxgantt. I wonder how to bring “split task” data into dhtmlxgantt? I don’t know how to split task in dhtmlxgantt. Please suggest, thank you.
I would like to bring “update project” function in Microsoft Project to be used in dhtmlxgantt.
Technically, you will need to show a dialog and update the task objects.
To show a dialog, you can implement a custom solution or use a third-party library. Or you can create a dialog box with the
modalbox method and add the HTML elements you need:
To select multiple tasks, you will need to enable the multiselect extension:
Then you will be able to select several tasks by holding the
Shift buttons and clicking on the tasks.
To iterate selected tasks, you need to use the
And inside that function, you can call the code you need.
Here is an example of how it can be implemented:
I wonder how to bring “split task” data into dhtmlxgantt? I don’t know how to split task in dhtmlxgantt.
To show tasks on the same rows, you need to use the Split Tasks functionality.
Under the hood, a task has child tasks and these child tasks are displayed on the same line instead of separate lines for each child task:
There is no way to have the mixed mode when some tasks are displayed on the same line and others are displayed as usual. The dev team will add that feature in the future, but I cannot give you any ETA.
To display child tasks on the same row, you need to add the
render: "split" property to the parent task.
I have the following examples of the implementation where you can split a task by half:
It can help you to start implementing your solution.