JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Gantt › React: how to disable connections
Tagged: gantt
Hi
How do you remove the connection arrows and disable them?
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/
Thank you very much Ivan, it worked