hello
When changing the duration value, can you move the focus to the last date of the task?
hello
When changing the duration value, can you move the focus to the last date of the task?
Hello Seungmin,
You need to save the previous date in the event before the task is updated. In another event, after the task is updated, you need to compare the dates and use the showDate
method to scroll to that date:
https://docs.dhtmlx.com/gantt/api__gantt_onlightboxsave_event.html
https://docs.dhtmlx.com/gantt/api__gantt_onbeforetaskdrag_event.html
https://docs.dhtmlx.com/gantt/api__gantt_onaftertaskupdate_event.html
https://docs.dhtmlx.com/gantt/api__gantt_showdate.html
Here is an example of how it can be implemented:
http://snippet.dhtmlx.com/5/cde85a0f9
Thank you. Thanks solved the problem.