Hi Gian Piero Truccolo,
Greeting from Syncfusion.
We can be able to reproduce the reported problem in provided sample and would like to inform that, it occurs due to the ScrollGanttChartTo method get called before the GanttSchedule get updated completely. So, we can overcome this problem by delaying the ScrollGanttChartTo method call as like below snippet.
|
private async void GenerateGantt_Click(object sender, RoutedEventArgs e)
{
view.GenerateGantt();
await Task.Delay(1);
this.Gantt.ScrollGanttChartTo(new DateTime(2021,05,04));
} |
Please let us know if you have any queries.
Regards,
Sridevi S.