Support Forum
Hi,
When i use the json from demo, everything looks great, but when i put our json , i get this error:
Cannot read property 'startDate' of undefined
at DateInterval.intersect (gantt.module.js:126121) Besides the end Date, early/late start/end dates are not calculated.
I presumes this is the main reason for not calculating critical path also.
Thank you in advance
When i use the json from demo, everything looks great, but when i put our json , i get this error:
Cannot read property 'startDate' of undefined
at DateInterval.intersect (gantt.module.js:126121) Besides the end Date, early/late start/end dates are not calculated.
I presumes this is the main reason for not calculating critical path also.
Thank you in advance
Hi, devyl24!
I've created this issue to fix it.
https://github.com/bryntum/support/issues/490
Meanwhile as a temporary workaround you could try to extract dependencies from project's json file and add them after project load.
For example like this.
Zipped json files attached.
I've created this issue to fix it.
https://github.com/bryntum/support/issues/490
Meanwhile as a temporary workaround you could try to extract dependencies from project's json file and add them after project load.
For example like this.
project.load().then(() => {
AjaxHelper.get('dependencies.json', { parseJson : true }).then(response => {
gantt.project.dependencyStore.add(response.parsedJson.dependencies.rows);
});
});
- Attachments
-
- project-gantt.zip
- (6.18 KiB) Downloaded 133 times
Hi,
There's a number of dependencies from parent to child in the data: 101 -> 100001, 100001 -> 25000000119.
This forms a cycle in the computations and we were silently ignoring during the initial data load - we'll fix this to throw an error. It is expected that your dependencies do not form cycles.
There's a number of dependencies from parent to child in the data: 101 -> 100001, 100001 -> 25000000119.
This forms a cycle in the computations and we were silently ignoring during the initial data load - we'll fix this to throw an error. It is expected that your dependencies do not form cycles.
Read the API documentation
Hm.. Can't see any easy way of doing this. If you need a dependency from parent to child - it should be just a purely visual thing, which does not affect the schedule. However we don't support anything like that currently - all dependencies affect the schedule.
Read the API documentation
Hi,
We have the following levels of items which we need to represent in the gantt:
Level 1: Parent
Level 2: Sub-parents (minimum 1 per parent)
Level 3: Milestones (minimum 1 per sub-parent)
Level 4 to maximum level 9: sub-activities (from 0 to many per milestone)
Then, we have the following dependencies we need to represent:
- with a gray line from level 1 to level 2 and from level 2 to level 3: these are visually only and will not impact the project due date
- with colored lines dependencies between Milestones and sub-activities and vice-versa: these do impact the project due date.
I need to mention that with the previous version of Ext js Bryntum Gantt we were able to do this!
Here is an example:
We have the following levels of items which we need to represent in the gantt:
Level 1: Parent
Level 2: Sub-parents (minimum 1 per parent)
Level 3: Milestones (minimum 1 per sub-parent)
Level 4 to maximum level 9: sub-activities (from 0 to many per milestone)
Then, we have the following dependencies we need to represent:
- with a gray line from level 1 to level 2 and from level 2 to level 3: these are visually only and will not impact the project due date
- with colored lines dependencies between Milestones and sub-activities and vice-versa: these do impact the project due date.
I need to mention that with the previous version of Ext js Bryntum Gantt we were able to do this!
Here is an example: