JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Gantt › Gantt Chart connections › Reply To: Gantt Chart connections
Hi Walter,
Thank you for the feedback. The autoSchedule
feature in the current version works only if the connection.target points to the index of a task not it’s id. This will be updated in order to support task ids as well in our next release. The connectionEnd
event should return the indexes of the start and end tasks in the event.detail
but it doesn’t which will also be fixed in our next release. As a solution may I suggest using the getTaskIndex( task: GanttChartTask)
in order to get the index of the target task. The method accepts Smart.GanttChart task object or a direct DOM reference to the HTMLElement corresponding to the task id.
Best Regards,
Christopher
Smart HTML Elements Team
https://www.htmlelements.com