JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Gantt Differentiating Click Events on Project Name and Project Bar in Nested Gantt Cha Reply To: Differentiating Click Events on Project Name and Project Bar in Nested Gantt Cha

#111367
Markov
Keymaster

Hi Varshitha,

As for the gantt whether you click on the row is handled as a click on the row i.e clicking on the left or right side does not make difference, the item becomes selected or unselected. The ‘itemClick’ event has event.detail.originalTarget parameter which you can use to determine the X and Y of the click. Using these params you will be able to evaluate whether the click is on the left or right.

Best Regards,
Markov

Smart UI Team
https://www.htmlelements.com/