Our state of the art Gantt chart


Post by gaurav.tyagi »

Hello,

Is there any way to check if user has made any changes (isDirty) to any field in the task editor ?
I want to perform save, only if anything has been updated in the editor.

Thank you.


Post by saki »

There is no "dirty" flag on the editor but you can listen to https://bryntum.com/docs/gantt/api/Grid/view/GridBase#event-dataChange on Gantt to know if and what has been changed.


Post by gaurav.tyagi »

Hello Saki,

There is modifications object available on taskRecord that keeps the values that has been modified.
That shall work for me.

Thank you.


Post Reply