Hi,
Running into an issue with my custom taskbar templates not rendering on load in the resource view of the gantt chart when expandState is set to false. The templates load correctly when expandState is set to true, or when the expandState gets toggled.
Here's the code for my template. Any help
Charles,
Based on your query, we recreated sample using resource view with expandState:'false' and taskbar templates and tried to replicate the issue but unable to reproduce it. So, kindly share more details asked below.
Sample - Jnes5m (forked) - StackBlitz
Regards,
Sridharan
Hi,
I've successfully recreated my issue on a fork of the sample you provided. Simply adding enableMultiTaskbar={true} causes it. You'll notice the first row does not have the template applied until the expand is toggled.
https://stackblitz.com/edit/react-t1z2qo-a64j6w?file=index.js
help is appreciated! Thank you!
Chuck,
We have reviewed your query, and we are able to replicate the issue that you’ve reported that taskbar template is not working properly in Gantt Chart.
To address the problem, we have logged a bug request, and the fix will be provided in the patch release which is scheduled to be rolled out on February 14, 2024. You can track its status from the feedback link given below.
Feedback Link: Taskbar template not showing in resourceView in React | Feedback Portal (syncfusion.com)
Note: Kindly login into your account and view the feedback.
Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization
Regards,
Sridharan
Chuck,
Apologies for considering your reported issue as bug. Upon further validation, it seems to be a feature improvement for our Gantt Chart.
The fix for the issue will be included in any of the upcoming release. We've already discussed various features for this release, and the decision on whether to priorities and implement this item will be based on things such as customer demand and vote results. As therefore, it may be included in future release.
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through the below feedback link,
Feedback link: Taskbar template not showing in resourceView in React | Feedback Portal (syncfusion.com)
Regards,
Sridharan
Chuck,
We'd like to explain how templates work with React and our Syncfusion Gantt Chart. Initially, Gantt Chart handles all the task organization and then it process the template elements in React.
Currently, our architecture processes the child elements and renders the parent elements. However, for multi-taskbar templates, we encounter difficulties accessing the child elements. This is because they're in a collapsed state and are rendered within a single row. As a result, we're unable to access the child elements, causing issues with taskbar templates when multi-taskbars are enabled.
To address this issue, we need to revamp the architecture of the Gantt Chart to accommodate this requirement. Therefore, instead of considering it a bug, we decided it as a feature enhancement that requires architectural changes.
The timeline for this feature remains uncertain as it depends on various factors, including customer demand, votes, and the frequency of inquiries for this particular feature. As of now, we are unable to provide a specific month or year for its implementation due to these varying factors influencing our development priorities and schedules. You can now track the current status of your request by below feedback.
Feedback link: Taskbar template not showing in resourceView in React | Feedback Portal (syncfusion.com)
Regards,
Sridharan
If it looks like a bug, acts like a bug... it's a bug. It doesn't matter if it's poorly architected or the result of your technical debt-- it's a documented feature that doesn't work as described. Toggling a single flag causes this behavior, quite literally rendering the entire chart useless.
We're building an entire product around this library and chose Syncfusion based on its support, track record, etc. To say I'm disappointed in this is an understatement.
Please escalate this to your eng/qa manager.
Chuck,
Sorry for the inconvenience caused.
We understand the urgency and importance of resolving this issue for your application. Therefore, we have prioritized it and are committed to addressing your requirement. However, due to the architectural changes needed for the fix, it will take some time to implement. As a result, we have scheduled to include your fix in the first patch release after the Vol1 main release at the end of March 2024.
Thank you for your patience and understanding throughout this process.
Regards,
Sridharan
Thank you very much. I appreciate it a lot, Sridharan.
Chuck,
We appreciate your patience.
The reported issue occurred because we are trying to fetch the templates after rows gets refreshed and now the fix for the issue “Taskbar template not showing in resourceView in React | Feedback Portal (syncfusion.com)” has been rolled out in our latest patch release (v25.1.37). So upgrade to our latest version to resolve the problem.
Sample Link - Jnes5m (forked) - StackBlitz
Release notes - Essential Studio for React Weekly Nuget Release Release Notes (syncfusion.com)
Please get back to us if you need any further assistance.
Regards,
Sridharan