Hi Team,
Team, currently in the Gantt chart expand and collapse functionality (refer to: Smart HTML Elements Gantt Chart Demo), we can use the chevron provided by Smart HTML Elements to expand and collapse projects. However, for better UX intuitiveness, I want to enable expand and collapse functionality by clicking on both the project itself and the chevron.
I encountered an issue when implementing this logic using the itemClick event. The default expand and collapse behavior with the chevron gets broken when any logic related to expanding or collapsing is added in the itemClick event. This results in the chevron no longer working as expected.
Please find this issue in the following StackBlitz link: StackBlitz Example. Please do check. Thanks.
Thanks,
Varshitha