JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Gantt › React: how to disable connections › Reply To: React: how to disable connections
July 17, 2023 at 2:04 pm
#107477
ivanpeevski
Participant
Hi ceddy,
You can prevent the connection start by calling event.preventDefault() when the event is fired. For example:
ganttChart.addEventListener(‘connectionStart’, function(event){
event.preventDefault();
})
You can hide the connection points with:
.smart-task-connection-point{
display:none
}
Best Regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/