How to store or show task history when task has been change the date

Dear Sir/Madam,

I would like to know about the how to store or show task history when task has change the start date or due date.
Do you have any function or module for this case?

Because the customer want to know when task has been change the date. They would like to know what date is the previous date.

Best Regards,

Hello Weerayut,
You can connect the undo extension:
https://docs.dhtmlx.com/gantt/desktop__undo_redo.html
After that, you can use the gantt.getUndoStack(); to see how the tasks were changed:

Here is the snippet where you can see how it works:
http://snippet.dhtmlx.com/bfde616a9

However, that information is not saved on a backend. If you want to check how the dates were changed after reloading the page, you need to implement a custom solution to save the undo stack.

thanks for answer :grinning:
but i need save task when after drop the task

Hello Weerayut,
It works when you drag tasks vertically and horizontally.
Here is the video:
https://files.dhtmlx.com/30d/273169a0ab025d37331f4d13b02fdaae/vokoscreen-2019-10-09_12-37-35.avi