Hi
Drag/Drop in gantt is not updating the value of WBS and Sequence dynamically in ES6 gantt, but in ExtJs gantt it calculates dynamically.
Can you please explain if it is developed this way?
ExtJS example https://www.bryntum.com/examples/gantt-for-extjs/advanced/#en on drag/drop task WBS recalculates
but in ES6 example if you drag task WBS didn't recalculate https://www.bryntum.com/examples/gantt/advanced/
This is by design, you can recalculate WBS anytime using https://bryntum.com/docs/gantt/#Gantt/model/TaskModel#function-refreshWbs
mats wrote: ↑Fri Mar 26, 2021 9:12 amThis is by design, you can recalculate WBS anytime using https://bryntum.com/docs/gantt/#Gantt/model/TaskModel#function-refreshWbs
Thanks Mats!! Is there any example of how to call refreshWBS ?
Hi shaveta,
You could use https://bryntum.com/docs/gantt/#Scheduler/data/EventStore#event-update event to call it on time:
gantt.eventStore.on('update', ()=>gantt.project.firstChild.refreshWbs());
All the best,
Alex
All the best,
Alex
alex.l wrote: ↑Fri Apr 02, 2021 9:12 amHi shaveta,
You could use https://bryntum.com/docs/gantt/#Scheduler/data/EventStore#event-update event to call it on time:
gantt.eventStore.on('update', ()=>gantt.project.firstChild.refreshWbs());
All the best,
Alex
The only issue i can see now is it is not recalculating WBS on indent/outdent.. Any patch for this?