Is there a way to allow only Finish to Start link type


#1

I’ve read a previous post (7 years old) where the recommended option was to add a validation on link save but I want to hide even the link points for other link types.

Eg: Let’s take Task A and B. When user tries to create a FS link between A and B, then during the line draw action Task B’s link point on end date should be hidden and only the Start date point should be visible.

Looking to disable other types and have only Finish to Start enabled. Any help is much appreciated.


#2

Hello Radheshyam,
There is no built-in way to do that. You need to implement a custom solution by using the Gantt API and Javascript.
The following examples can help you to start:
http://snippet.dhtmlx.com/5/1fbf02f15
https://snippet.dhtmlx.com/5/8541347bd