Our state of the art Gantt chart


Post by SIM-LTD »

Hi

Is there any way to get some more info about :
  • propagationComplete
  • waitForPropagateCompleted
As a matter of fact, a ticket was opened August 02 ( https://app.assembla.com/spaces/bryntum/tickets/8981-propagationcomplete-should-be-a-public-event/details ); and as we are still struggling with some issue, we would like to know how to implement these methods.

Thank you

Post by nickolay »

Hi,

The `propagationComplete` is an event, fired on the `project` instance, once the propagation has complete. The `waitForPropagateCompleted` is a method on the `project` instance, which returns a promise, which resolves when any ongoing propagation completes (or immediately, if there's no propagation).

Propagation is the process of spreading the changes in the dataset, more about it here: https://www.bryntum.com/docs/gantt/#guides/project_data.md

What are you trying to achieve?

Post by SIM-LTD »

Hi
We had a serious issue in August (please see the post: TaskStore does not contain 'start' & 'End' Date when creating Task Event)
Thus, we are trying to solve it by using "Progatation"...

Thank you for your reply, we do appreciate
(Sorry to insist but can you please ask anyone to have a look at the post: Move Progress move Task too: viewtopic.php?f=52&t=12639) (Because this one we posted is very serious..)

Post by nickolay »

Yes, after adding a new task (or dependency/assignment) one need to call `propagate` (unless its not already called in the helper method). To query for the "correct" data, one need to wait until the propagate completes (`waitForPropagateCompleted`)

Regarding the "move progress" bug - yes, our forum duty will pick it up soon, thanks for the report!

Post by SIM-LTD »

Thank you very much.

Post Reply