JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Gantt › Gantt chart Task Segment Update / Scroll to task segment › Reply To: Gantt chart Task Segment Update / Scroll to task segment
April 11, 2023 at 7:08 am
#104679
Participant
Hi,
You can use the ensureVisible method to scroll to a given task.
The method accepts an id of a task.
Here is an example: https://codepen.io/Steevee222/pen/Jjmdxrd?editors=1010
I hope this helps!
Best Regards,
Steven Peterson
Smart UI Team
https://www.htmlelements.com/