Scroll to today by default

Modified on Tue, 09 Jan 2024 at 04:30 PM

Is there a way that I can set the focus always to Today without pressing the "Today" button? 

Is there a script I can add with the same functionality?


Yes, put the following script into Widget Properties > Advanced > Gantt Config Script:


gantt.attachEvent("onLoadEnd", function(){
    gantt.showDate(new Date());
});



As an alternative, you can also use the following script:


gantt.attachEvent("onDataRender", function(){
    gantt.showDate(new Date());
});





In case of any questions please contact support@nextedy.com

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article