Hi Samo,
Greetings
from Syncfusion,
After reviewing the query, we observed that the duration value in the
dataSource remains null. The Gantt Chart behavior prioritizes the internal
validation of the duration, followed by the validation of the start and end
dates. If the duration value is null, the end date is directly validated.
However, if the end date falls on a includeWeekend,
the includeWeekend is not included unless specified as false before validating
the day. Otherwise, if the end date is on a weekday, the data source end is
validated and rendered. For further clarification, we have provided a code
snippet and a sample for reference.
|
<SfGantt DataSource="@TaskCollection" Height="450px" Width="700px" IncludeWeekend="true">
…
</SfGantt>
|
Sample link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Weekday-1901719059
Regards,
Ajithkumar G