Our state of the art Gantt chart


Post by thijs4ef »

How to handle assignments update through resourceassignment column and task editor "right"?

I did try to subscribe for gantt.assignmentStore.on() but it's not possible to detect what was changed on "refresh" and "beforeupdate" events and the rest of events (update, add and remove) are not working.
When I change assignments through TaskEditor "add/remove/update" events are working.

It looks like the resourceassignment column is using the batch functions (beginbatch and endbatch ). The batch function block events triggering.

Thanks for any response.


Post by Maxim Gorkovsky »

Hello.
Resource assignment columns uses special field to edit value: https://bryntum.com/docs/gantt/#Gantt/widget/AssignmentField You can check doc to see if it contains answer to your question.
What result are you trying to achieve?


Post by thijs4ef »

I tried to implement back-end updates by catching events because I had an API before started working with bryntum but seem it's a wrong way. Now I'm trying to implement the save button and collect changes from gantt.project.changes


Post Reply