After Api call, I am reloading the page at the moment, and after reloading I want the page to be focused to the same task which was focused / changed before.
I tried to scroll to the gantt task directly like gantt.showTask(123). However Its not working, is there any sampe of showTask after window.location.reload, or even on first initialization.
Also, Gantt doesn’t save the selected task or scroll position if you reload the page, as Gantt is a client-side library. You need to manually save that data somewhere, then load it after the page is reloaded. Then you can provide that data to Gantt, and it will scroll to the specified position.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan