JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Gantt › Issue with Expanding and Collapsing Projects in Gantt Chart using Chevron and Pr › Reply To: Issue with Expanding and Collapsing Projects in Gantt Chart using Chevron and Pr
September 2, 2024 at 2:23 pm
#111372
Markov
Keymaster
Hi Varshitha,
Because if you click the chevron and the default logic is still applied, then you apply your logic on click and basically it restores the state. You should add if-condition in your code to check if the chevron is clicked and return; if it is clicked. The clicked target can be retrieved by using event.detail.originalEvent.target;
Best regards,
Markov
Smart UI Team
https://www.htmlelements.com/