- Home
- Forum
- ASP.NET Core - EJ 2
- Not respecting given startdate and enddate
Not respecting given startdate and enddate
Hi
i am using ejs-gantt in asp.net core. It is not showing startdate and enddate which is pass through my data.
please check below gantt-chart configuration attached provide the fix show that gantt chart honour supplied startdate and enddate.
Attachment: GanttChart_a8e0b33a.zip
SIGN IN To post a reply.
7 Replies
MS
Monisha Sivanthilingam
Syncfusion Team
June 29, 2021 10:18 AM UTC
Hi Himmat,
Greetings from Syncfusion support.
We have studied the code files you shared and would like to inform you of a few points. They are as follows:
- We noticed that you have mapped predecessors in your code. The predecessor connections may cause some of the tasks to start from a different date than the one defined in the data source.
- The dates of the parent tasks are calculated based on the minimum start date and maximum end date of its child tasks. Hence, the end dates of the parent tasks may not be rendered on their defined end dates.
- We can avoid this issue by making use of the Manual scheduling mode in Gantt Chart. In this mode, the dates are not validated based on the factors such as dependencies, holidays, weekends, etc.,
- Hence, we suggest using the Manual scheduling mode to avoid this issue.
To learn more about Task Scheduling modes in Gantt Chart, please refer our Online Documentation and Samples.
Please contact us if you require any further assistance.
Regards,
Monisha.
HP
Himmat Panchal
June 30, 2021 01:20 PM UTC
Hi
Thanks for give solution
I did follow given example and put Manual task mode. but start date and end date wrong displayed in last task.
wrong startdate and enddate shared in below screenshot and please check below attached file.
wrong date show only in one record.
Attachment: Date_Issue_586ab34e.zip
MS
Monisha Sivanthilingam
Syncfusion Team
July 1, 2021 01:19 PM UTC
Hi Himmat,
We have analyzed the code samples and data you shared. We noticed that you have mapped dependencies in your application. The default type of dependencies in Gantt chart is FS. That is, the tasks start only when the connected task ends. This is why the task does not render in the given dates.
Please contact us if you require any further assistance.
Regards,
Monisha.
HP
Himmat Panchal
July 5, 2021 01:45 PM UTC
Hi
please provide settings which this check issue. i did shared above response file.
MS
Monisha Sivanthilingam
Syncfusion Team
July 7, 2021 12:57 PM UTC
Hi Himmat,
We noticed that the task which is not rendered on the given date has dependency connections defined for it. This is the reason the task is not rendered on the given dates. You can either remove the mapping of the dependency field from your taskfields to resolve this issue. We have modified the files you shared to demonstrate the solution. Please find the files from the below link.
Regards,
Monisha.
HP
Himmat Panchal
July 7, 2021 01:55 PM UTC
hi
i logged in above given url but i cannot access site. please check below screenshot.
MS
Monisha Sivanthilingam
Syncfusion Team
July 8, 2021 06:00 AM UTC
Hi Himmat,
We apologize for the inconvenience caused.
We have reattached the files in the below link.
Please contact us if you require any further assistance.
Regards,
Monisha.
SIGN IN To post a reply.
- 7 Replies
- 2 Participants
-
HP Himmat Panchal
- Jun 28, 2021 02:53 PM UTC
- Jul 8, 2021 06:00 AM UTC