Our state of the art Gantt chart


Post by SIM-LTD »

Having a listener on Task Store we noticed that the property "changes" has a different format.

If you just change a Task (Drag or Edit) the "Changes" property is an object containing all the fields that have been changed and are set like this : ie: startDate.value = xxxxx (sometime there 2 properties 'value' & 'oldValue'

When it comes to run the option "Add SubTask" then the "Changes" property is set like this : ie: isLeaf=false.

You can look at the screenshot.

Our issue is why the "Changes" property does not have the same format? Which makes the complicated, and we just realized that our process did not succeed just because in most of the case the format that we were expected is :
ie: FIELD.value = a value.
and not :
ie: FIELD = a value

Is this a Bug or do we have to deal with these 2 formats?
Attachments
Capture d’écran 2019-11-13 à 10.49.33.png
Capture d’écran 2019-11-13 à 10.49.33.png (27.72 KiB) Viewed 712 times
Capture d’écran 2019-11-13 à 11.01.11.png
Capture d’écran 2019-11-13 à 11.01.11.png (25.35 KiB) Viewed 712 times

Post by mats »


Post Reply