Premium support for our pure JavaScript UI components


Post by shashank.yadav »

Hi Team,

We are using event hasChanges to track, changes made by user. This is useful for us, but while we remove dependency we want additional information eg., from, to, etc, along with id property.

this.gantt.project.on('hasChanges', (event) => {
      const { changes } = event.source;  
if(changes) { console.log(changes) } });
d_changes.png
d_changes.png (17.18 KiB) Viewed 88 times

Thanks,
Shashank Yadav
Hatch Digital


Post by arcady »

Hello,

You can use Store API for more details:

// returns removed records
project.dependencyStore.changes.removed

https://bryntum.com/products/gantt/docs/api/Core/data/Store#property-changes

Best regards,
Arcady


Post by shashank.yadav »

Thank you Arcady, that worked.


Post Reply